Optionaltext: stringOptionalxOffset: numberOptionalyOffset: numberOptionalheight: numberOptionallineSpacing: numberOptionalletterSpacing: numberOptionalalign: horizontalAlignEnumOptionalextrudeOffset: numberOptionalcenterOnOrigin: booleanOptionaltextThe text to draw; a line break starts a new line.
OptionalxHow far to shift the whole block along X, in model units.
OptionalyHow far to shift the whole block along the second axis of the text plane, in model units.
OptionalheightThe height of a capital letter, in model units.
OptionallineThe distance between lines as a multiple of the height; 1.4 leaves a little air between them.
OptionalletterExtra space between characters as a multiple of the height; 0 uses the font's own spacing.
OptionalalignHow lines of different length line up: at their left edge, their center or their right edge.
OptionalextrudeA margin, in model units, taken off the height and split above and below each character, so extruded text keeps its full size.
OptionalcenterWhen true, the middle of the whole text block is moved to the origin.
A text and its layout for
text.vectorText, which draws it line by line as stroke paths on the XZ plane.