Click or drag to resize

TextEntityCreateCurvesGrouped Method (DimensionStyle, Boolean, Double, Double)

Creates planar curve from text outline curves. Curves are grouped such that each element in the list being returned represents a single character.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public List<Curve[]> CreateCurvesGrouped(
	DimensionStyle dimstyle,
	bool allowOpen,
	double smallCapsScale,
	double spacing
)

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
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
Type: SystemDouble
Set to add additional spacing between glyph output.

Return Value

Type: ListCurve
A list of curve arrays, one array per character.
See Also