Interface RenderingStyle

interface RenderingStyle {
    fill: Color4;
    stroke?: {
        color: Color4;
        width: number;
    };
}

Properties

Properties

fill: Color4
stroke?: {
    color: Color4;
    width: number;
}

Type declaration

  • Readonlycolor: Color4
  • Readonlywidth: number

    Note: The stroke width is twice the stroke radius.

OpenSource licenses