Click or drag to resize

TextEntityCreateExtrusionsGrouped Method (DimensionStyle, Boolean, Double, Double, Double)

Creates extrusions from text outline curves. Extrusions 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<Extrusion[]> CreateExtrusionsGrouped(
	DimensionStyle dimstyle,
	bool makeSmallCaps,
	double smallCapsScale,
	double height,
	double spacing
)

Parameters

dimstyle
Type: Rhino.DocObjectsDimensionStyle
The dimension style used to evaluate the text.
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.
height
Type: SystemDouble
Height in direction perpendicular to plane of text.
spacing
Type: SystemDouble
Set to add additional spacing between glyph output.

Return Value

Type: ListExtrusion
A list of extrusion arrays, one array per character.
See Also