TextEntityCreateCurves Method (DimensionStyle, Boolean, Double, Double) |
Returns the outline curves.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntaxpublic Curve[] CreateCurves(
DimensionStyle dimstyle,
bool allowOpen,
double smallCapsScale = 1,
double spacing = 0
)
Public Function CreateCurves (
dimstyle As DimensionStyle,
allowOpen As Boolean,
Optional smallCapsScale As Double = 1,
Optional spacing As Double = 0
) 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. - smallCapsScale (Optional)
- Type: SystemDouble
Scale factor for drawing lower case letters as small caps, relative to the text height. Use 1.0 for no small caps. - spacing (Optional)
- 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