tinyimg - v1.1.1
    Preparing search index...

    Interface TextStyle

    How a run of text is set. Mirrors TinyTextStyle.

    interface TextStyle {
        kerning?: boolean;
        lineHeight?: number;
        shadow?: TextShadow;
        size: number;
        stroke?: number;
        strokeColor?: Color;
        tracking?: number;
    }
    Index
    kerning?: boolean

    Apply the face's kern pairs. Defaults to true.

    lineHeight?: number

    Multiple of the face's own line height.

    shadow?: TextShadow

    A shadow under the run, or omitted for none.

    size: number

    Em size in pixels.

    stroke?: number

    Outline width in pixels.

    strokeColor?: Color

    The outline's color.

    tracking?: number

    Extra space between glyphs. Negative tightens.