Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
Transform
Class Transform
Hierarchy
PartComponent
Transform
Indexable
[
K:
string
]:
any
Index
Constructors
constructor
Events
on
Did
Invalidate
Properties
click
invalidated
opacity
rotation
scale
x
y
Accessors
properties
Methods
_setup
Properties
apply
invalidate
load
render
reset
serialize
Constructors
constructor
new
Transform
(
)
:
Transform
Returns
Transform
Events
on
Did
Invalidate
on
Did
Invalidate
:
Properties
click
click
:
EventEmitter
= new EventEmitter()
invalidated
invalidated
:
boolean
= true
opacity
opacity
:
number
= 1
rotation
rotation
:
number
= 0
scale
scale
:
number
= 1
x
x
:
number
= 400
y
y
:
number
= 300
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
Transform
constructor
on
Did
Invalidate
click
invalidated
opacity
rotation
scale
x
y
properties
_setup
Properties
apply
invalidate
load
render
reset
serialize
Generated using
TypeDoc