Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
TextComponent
Class TextComponent
Hierarchy
PartComponent
TextComponent
Indexable
[
K:
string
]:
any
Index
Constructors
constructor
Events
on
Did
Invalidate
Properties
color
invalidated
value
Accessors
properties
Methods
_setup
Properties
apply
invalidate
load
render
reset
serialize
Constructors
constructor
new
Text
Component
(
)
:
TextComponent
Returns
TextComponent
Events
on
Did
Invalidate
on
Did
Invalidate
:
Properties
color
color
:
string
= "#000000"
invalidated
invalidated
:
boolean
= true
value
value
:
string
= "Text"
Accessors
Static
properties
properties
:
Methods
Protected
_setup
Properties
_setup
Properties
(
)
:
void
Returns
void
apply
apply
(
)
:
void
Returns
void
invalidate
invalidate
(
)
:
void
Returns
void
load
load
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
render
render
(
ctx
:
CanvasRenderingContext2D
, el
:
HTMLElement
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
el:
HTMLElement
Returns
void
reset
reset
(
)
:
void
Returns
void
serialize
serialize
(
)
:
object
Returns
object
[
K:
string
]:
any
Globals
Text
Component
constructor
on
Did
Invalidate
color
invalidated
value
properties
_setup
Properties
apply
invalidate
load
render
reset
serialize
Generated using
TypeDoc