Click or drag to resize

TextEntityCreateCurvesGrouped Method (DimensionStyle, Boolean, 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: 9.0
Syntax
public List<Curve[]> CreateCurvesGrouped(
	DimensionStyle dimstyle,
	bool allowOpen,
	bool makeSmallCaps,
	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.
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: ListCurve
A list of curve arrays, one array per character.
See Also