- Source:
- See:
-
- DrawObjectFactory should be created with factory method
Extends
Members
bgColor :string
Background color as rgba(r,g,b,a).
- Overrides:
- Source:
boundariesBox :Rectangle
Rectangle text box.
- Source:
fillStyle :string
- Source:
font :string
- Source:
strokeStyle :string
- Source:
text :string
- Source:
textAlign :string
- Source:
textBaseline :string
- Source:
textMetrics :TextMetrics
- 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: