TextEntityCreateCurves Method (DimensionStyle, Boolean, Boolean, Double, Double) |
Returns the outline curves.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic Curve[] CreateCurves(
DimensionStyle dimstyle,
bool allowOpen,
bool makeSmallCaps,
double smallCapsScale,
double spacing
)
Public Function CreateCurves (
dimstyle As DimensionStyle,
allowOpen As Boolean,
makeSmallCaps As Boolean,
smallCapsScale As Double,
spacing As Double
) As Curve()
Parameters
- dimstyle
- Type: Rhino.DocObjectsDimensionStyle
The dimension style used to evaluate the text. - allowOpen
- Type: SystemBoolean
Set to true to prevent forced closing of open curves retrieved from glyphs. - makeSmallCaps
- Type: SystemBoolean
Set to true to create small caps out of lower case letters. - smallCapsScale
- Type: SystemDouble
If makeSmallCaps is true, the scale factor for lower case letters, relative to the text height. Values greater than 1.0 are allowed. - spacing
- Type: SystemDouble
Set to add additional spacing between glyph output.
Return Value
Type:
CurveAn array of curves that forms the outline or content of this text entity.
See Also