Interface TextStyle

Text style options of Image.renderText

interface TextStyle {
    strokeColor?: number;
    strokeWidth?: number;
}

Properties

strokeColor?: number

Color of the outline. Default: 0x000000ff

strokeWidth?: number

Width of an outline around the glyphs in pixels. Default: 0