Click or drag to resize

TextEntityCreateCurves Method (DimensionStyle, Boolean, Double, Double)

Returns the outline curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public Curve[] CreateCurves(
	DimensionStyle dimstyle,
	bool allowOpen,
	double smallCapsScale = 1,
	double spacing = 0
)

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: Curve
An array of curves that forms the outline or content of this text entity.
See Also