Bitbybit Docs
    Preparing search index...

    Class DrawingTextDtoBeta (Inputs.IO)

    A line of text, in the stroke font text.vectorText draws.

    SVG draws its strokes; DXF writes a text fitted to their width. Accented Latin letters are drawn; a character the font lacks is a question mark, an emoji two.

    Index

    Constructors

    Properties

    text: string

    The text, one line of it: a control character, such as a line break, a tab or U+0085, is refused; a line separator is drawn as a question mark.

    undefined
    

    The point on the baseline the text is placed by; anchor says which point of the line it is.

    undefined
    
    height?: number

    The height of a capital letter, in drawing units.

    3.5
    

    0

    true

    anchor?: "start" | "middle" | "end"

    Which point of the baseline position is: where the text starts, its middle or its end.

    start
    
    rotation?: number

    The angle of the baseline in degrees, counterclockwise from the X axis.

    0
    
    widthFactor?: number

    How wide the letters are drawn against their natural width: below 1 narrows a text to fit a cell, above 1 widens it.

    1
    

    0

    true