Optional
centeredWhether or not to position the globalPos
of the DrawText
to the center of the text. If false
, it will be based on the top-left corner.
Default: true
Optional
fillThe color for the DrawText
to fill the text with. A value of false
is no fill.
Default: false
Optional
fontThe font and size to draw text with.
Default: "16px arial"
Optional
ignoreWhether or not the DrawText
will ignore the camera and use screen position instead of world position.
Default: false
Optional
rotationThe rotation in radians of the DrawRect
. Rotates around the top-left corner of the text unless centered
is true
. In that case, it will rotate around the center of the text.
Default: 0
Optional
strokeThe color for the DrawText
to outline the text with. A value of false
is no stroke.
Default: false
Optional
strokeThe width of the outline of the DrawText
.
Default: 1
Generated using TypeDoc
The configuration to use when drawing a
DrawText
.