VMPrint API Reference - v1.0.0
    Preparing search index...

    Interface ContextTextOptions

    interface ContextTextOptions {
        align?: "left" | "center" | "right" | "justify";
        ascent: number;
        characterSpacing?: number;
        height?: number;
        lineBreak?: boolean;
        link?: string;
        width?: number;
    }
    Index

    Properties

    align?: "left" | "center" | "right" | "justify"
    ascent: number

    Normalized font ascent (0–1000 units). Required — the engine must always supply this so every context backend can accurately position text regardless of its own text-anchor convention.

    characterSpacing?: number
    height?: number
    lineBreak?: boolean
    link?: string
    width?: number