IFClite TypeScript API
    Preparing search index...

    Function dxfTextLineOffset

    • Offset of line index of a lineCount-line DXF text block from its insertion point, measured across the baseline towards the glyph feet, in the units of height. Every renderer stacks lines along this offset and keeps each line's own valign, so the whole block sits where DXF puts it: top (and baseline) attachment grows down from the point, middle attachment is centred on it, and bottom attachment grows up from it, with the last line on the point. Single-line text is never offset.

      Parameters

      • index: number
      • lineCount: number
      • valign: "top" | "bottom" | "middle" | "baseline"
      • height: number
      • OptionallineSpacingFactor: number

      Returns number