Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
StickerComponent
Class StickerComponent
Hierarchy
PartComponent
StickerComponent
Indexable
[
K:
string
]:
any
Index
Constructors
constructor
Events
on
Did
Invalidate
Properties
image
invalidated
Accessors
properties
Methods
_setup
Properties
apply
invalidate
load
render
reset
serialize
Constructors
constructor
new
Sticker
Component
(
)
:
StickerComponent
Returns
StickerComponent
Events
on
Did
Invalidate
on
Did
Invalidate
:
Properties
image
image
:
Sticker
= new Sticker('')
invalidated
invalidated
:
boolean
= true
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
Sticker
Component
constructor
on
Did
Invalidate
image
invalidated
properties
_setup
Properties
apply
invalidate
load
render
reset
serialize
Generated using
TypeDoc