Preparing search index...
The search index is not available
Excalibur.js Edge API Documentation
Excalibur.js Edge API Documentation
DebugText
Class DebugText
Internal debugtext helper
Hierarchy
DebugText
Index
Constructors
constructor
Properties
font
Sheet
size
Methods
load
write
Constructors
constructor
new
Debug
Text
(
)
:
DebugText
Returns
DebugText
Properties
Readonly
font
Sheet
font
Sheet
:
string
= debugFont
base64 font
size
size
:
number
= 16
Methods
load
load
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
write
write
(
ctx
:
ExcaliburGraphicsContext
, text
:
string
, pos
:
Vector
)
:
void
Writes debug text using the built in sprint font
Parameters
ctx:
ExcaliburGraphicsContext
text:
string
pos:
Vector
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Excalibur.js
Edge API
Documentation
Events
Input
Side
Util
Draw
Util
webgl
Debug
Text
constructor
font
Sheet
size
load
write
Internal debugtext helper