Interface DrawPolygonConfig

The configuration to use when drawing a DrawPolygon.

Hierarchy

  • DrawPolygonConfig

Properties

fill?: string | false

The color for the DrawPolygon to fill the polygon with. A value of false is no fill.

Default: false

ignoreCamera?: boolean

Whether or not the DrawPolygon will ignore the camera and use screen position instead of world position.

Default: false

rotation?: number

The rotation in radians of the DrawPolygon.

Default: 0

stroke?: string | false

The color for the DrawPolygon to outline the polygon with. A value of false is no stroke.

Default: false

strokeWidth?: number

The width of the outline of the DrawPolygon.

Default: 1

Generated using TypeDoc