meo-skia-canvas
    Preparing search index...

    Interface FontVariationInput

    Variable-font axis position. axis is a 4-character OpenType axis tag (e.g. "wght", "wdth", "ital", "opsz"). value is a float in the font's design space, clamped to the typeface's declared min/max for that axis. Mirrors CanvasKit's fontVariations shape.

    🧪 Not in the HTML Canvas standard.

    interface FontVariationInput {
        axis: string;
        value: number;
    }
    Index
    axis: string

    Four-character OpenType axis tag, such as "wght" or "opsz".

    value: number

    Position on that axis, clamped to the range the typeface declares.