Bitbybit Docs
    Preparing search index...

    Class VectorCharDto (Inputs.Text)

    One character and its size and placement for text.vectorChar, which draws it as stroke paths on the XZ plane.

    Index

    Constructors

    • Parameters

      • Optionalchar: string
      • OptionalxOffset: number
      • OptionalyOffset: number
      • Optionalheight: number
      • OptionalextrudeOffset: number

      Returns VectorCharDto

    Properties

    char: string

    The character to draw; only its first character is used, and an unknown one is drawn as a question mark.

    A
    
    xOffset?: number

    How far to shift the strokes along X, in model units.

    0
    

    -Infinity

    Infinity

    0.1

    yOffset?: number

    How far to shift the strokes along the second axis of the character plane, in model units.

    -Infinity

    Infinity

    0.1

    true

    height?: number

    The height of a capital letter, in model units; the strokes are scaled to it.

    1
    

    -Infinity

    Infinity

    0.1

    extrudeOffset?: number

    A margin, in model units, taken off the height and split above and below, so an extruded character keeps its full size.

    0
    

    -Infinity

    Infinity

    0.1