Configuration of the polygon appearance.

Hierarchy

  • PartiallyConstructible
    • PolygonStyle

Constructors

  • Parameters

    • Optional source: DeepPartial<PolygonStyle>

    Returns PolygonStyle

Properties

cornerRadius: number

The corner radius of the polygon in dp. Default is 0.0

fillColor: string

The fill color of the polygon. Default is "#FFFFFF30"

strokeColor: string

The color of the polygon outline. Default is "#FFFFFFFF"

strokeWidth: number

The width of the polygon outline in dp. Default is 2.0