Search
Preparing search index...
The search index is not available
@blinkk/degu
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
x
XText
Class XText
Hierarchy
XGameObject
XText
Index
Constructors
constructor
Properties
acceleration
anchorX
anchorY
children
debug
Object
id
interactable
natural
Height
natural
ScaleX
natural
ScaleY
natural
Width
on
Mouse
Down
on
Mouse
Move
on
Mouse
Up
position
rotation
texture
velocity
visible
z
Index
Accessors
alpha
anchor
Gx
anchor
Gy
anchor
Offset
Vector
anchorXOffset
anchorYOffset
ax
ay
gcx
gcy
global
Center
Vector
global
Computed
Box
gx
gy
height
natural
AnchorXOffset
natural
AnchorYOffset
scaleX
scaleY
vx
vy
width
x
y
Methods
add
Child
order
Children
ByZIndex
remove
Child
render
render
Debugging
Outlines
set
Position
set
Text
set
Texture
update
Positions
Constructors
constructor
new XText
(
config
:
XTextConfig
)
:
XText
Parameters
config:
XTextConfig
Returns
XText
Properties
acceleration
acceleration
:
Vector
anchorX
anchorX
:
number
anchorY
anchorY
:
number
children
children
:
Array
<
XGameObject
>
debug
Object
debug
Object
:
boolean
id
id
:
string
interactable
interactable
:
boolean
natural
Height
natural
Height
:
number
natural
ScaleX
natural
ScaleX
:
number
natural
ScaleY
natural
ScaleY
:
number
natural
Width
natural
Width
:
number
on
Mouse
Down
on
Mouse
Down
:
Function
|
null
on
Mouse
Move
on
Mouse
Move
:
Function
|
null
on
Mouse
Up
on
Mouse
Up
:
Function
|
null
position
position
:
Vector
rotation
rotation
:
number
texture
texture
:
XTexture
|
null
velocity
velocity
:
Vector
visible
visible
:
boolean
z
Index
z
Index
:
number
Accessors
alpha
alpha
:
anchor
Gx
anchor
Gx
:
anchor
Gy
anchor
Gy
:
anchor
Offset
Vector
anchor
Offset
Vector
:
anchorXOffset
anchorXOffset
:
anchorYOffset
anchorYOffset
:
ax
ax
:
ay
ay
:
gcx
gcx
:
gcy
gcy
:
global
Center
Vector
global
Center
Vector
:
global
Computed
Box
global
Computed
Box
:
gx
gx
:
gy
gy
:
height
height
:
natural
AnchorXOffset
natural
AnchorXOffset
:
natural
AnchorYOffset
natural
AnchorYOffset
:
scaleX
scaleX
:
scaleY
scaleY
:
vx
vx
:
vy
vy
:
width
width
:
x
x
:
y
y
:
Methods
add
Child
add
Child
(
sprite
:
XGameObject
)
:
void
Parameters
sprite:
XGameObject
Returns
void
order
Children
ByZIndex
order
Children
ByZIndex
(
)
:
void
Returns
void
remove
Child
remove
Child
(
sprite
:
XGameObject
)
:
void
Parameters
sprite:
XGameObject
Returns
void
render
render
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
render
Debugging
Outlines
render
Debugging
Outlines
(
context
:
CanvasRenderingContext2D
)
:
void
Parameters
context:
CanvasRenderingContext2D
Returns
void
set
Position
set
Position
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
Text
set
Text
(
text
:
string
)
:
void
Parameters
text:
string
Returns
void
set
Texture
set
Texture
(
texture
:
XTexture
)
:
void
Parameters
texture:
XTexture
Returns
void
update
Positions
update
Positions
(
)
:
void
Returns
void
Globals
x
__global
X
XGame
Object
XLine
XOff
Screen
Canvas
XPointer
XRectangle
XStage
XText
constructor
acceleration
anchorX
anchorY
children
debug
Object
id
interactable
natural
Height
natural
ScaleX
natural
ScaleY
natural
Width
on
Mouse
Down
on
Mouse
Move
on
Mouse
Up
position
rotation
texture
velocity
visible
z
Index
alpha
anchor
Gx
anchor
Gy
anchor
Offset
Vector
anchorXOffset
anchorYOffset
ax
ay
gcx
gcy
global
Center
Vector
global
Computed
Box
gx
gy
height
natural
AnchorXOffset
natural
AnchorYOffset
scaleX
scaleY
vx
vy
width
x
y
add
Child
order
Children
ByZIndex
remove
Child
render
render
Debugging
Outlines
set
Position
set
Text
set
Texture
update
Positions
XTexture
XConfig
XGame
Config
Computed
Box
XGame
Object
Config
XLine
Config
XRectangle
Config
XText
Config
XGame
Object
Defaults