ThorVG WebCanvas API - v1.1.4
    Preparing search index...

    Interface TextOutline

    The outline (stroke) rendered around the glyphs of a text.

    interface TextOutline {
        width: number;
        color: readonly [number, number, number];
    }
    Index
    width: number

    The width of the outline. Must be a positive value. A width of 0 disables the outline.

    color: readonly [number, number, number]

    The RGB color of the outline, given as [r, g, b]. Each channel is in the range [0 ~ 255].