Interface DrawRectConfig

The configuration to use when drawing a DrawRect.

Hierarchy

  • DrawRectConfig

Properties

fill?: string | false

The color for the DrawRect to fill the rectangle with. A value of false is no fill.

Default: false

ignoreCamera?: boolean

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

Default: false

rotation?: number

The rotation in radians of the DrawRect.

Default: 0

stroke?: string | false

The color for the DrawRect to outline the rectangle with. A value of false is no stroke.

Default: false

strokeWidth?: number

The width of the outline of the DrawRect.

Default: 1

Generated using TypeDoc