Text Shape
The text shape has been developed to translate fonts and optimize them specifically for laser marking. Laser marking involves multiple intricate steps and operations, including font glyph translation, curve fitting, hatching, transformations, and more. The shape simplifies these complexities by incorporating built-in algorithms, providing a programmer-friendly interface.
Properties
Angle | Gets or Sets the angle of the text shape. |
Characters | Gets the list of characters in the shape. |
DotDurationMicroseconds | Gets or sets the length of time (in microseconds) the laser will stay on for a dot in special dotted fonts |
HatchPatternList | Gets the associated Hatch pattern list for the shape. |
HorizontalAlign | Gets or sets the horizontal alignment of the text. |
ItalicAngle | Gets or sets the slant angle of the characters. |
Kerning | Gets or set whether the kerning adjustment is enabled |
LineSpace | Gets or sets the line height of the text |
LineSpaceStyle | Gets or sets how the line space height should be interpreted. |
Location | Gets or Sets the location of the text shape. |
ScaleX | Gets or sets the percentage scaling in the X axis direction. |
ScaleY | Gets or sets the percentage scaling in the Y axis direction. |
TextBoxHeight | Gets or sets the height of the boundary box for the shape. |
TextBoxWidth | Gets or sets the width of the boundary box for the shape. |
TransformationMatrix | Gets or sets the transform matrix used to transform the text shape. |
VerticalAlign | Gets or sets the vertical alignment of the text inside the text box. |
WordWrap | Gets or sets whether long words should be broken and wrapped onto the next line. |
Methods
AddHatchPattern | Adds a hatch pattern to the shape |
AddHatchPatternHelixFilling | Adds a helix type pattern to the shape |
AddHatchPatternLine | Adds a Line type pattern to the shape |
AddHatchPatternOffsetFilling | Adds an Offset filling type pattern to the shape |
AddHatchPatternOffsetInOut | Adds an Offset In Out filling type pattern to the shape |
AddText | Add Text to the shape |
ClearHatchPatterns | Clears all the associated hatch patterns from the shape |