- Source:
- See:
-
- DrawObjectFactory should be created with factory method
Extends
Members
bgColor :string
Background color as rgba(r,g,b,a).
- Overrides:
- Source:
radius :number
- Source:
vertices :Array.<number>
Array of [x,y] cords.
- Source:
x :number
- Overrides:
- Source:
y :number
- Overrides:
- Source:
Methods
destroy()
Destroy object on next render iteration.
- Overrides:
- Source:
setMask(mask)
Parameters:
Name | Type | Description |
---|---|---|
mask |
DrawShapeObject |
- Overrides:
- Source:
turnOffOffset()
turn off offset for specific draw object
gameStageData.centerCameraPosition() will take no effect on such object
Can be used for something that should be always on screen: control buttons, overlay masks etc.
- Overrides:
- Source: