Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
FrameSprite
Class FrameSprite
Hierarchy
Sprite
FrameSprite
Implements
CommonArea
CommonArea
Destroyable
Index
Constructors
constructor
Properties
_before
Surface
_has
Touchable
Children
_last
Used
Index
_matrix
_stretch
Matrix
_target
Cameras
_timer
angle
children
composite
Operation
frame
Number
frames
height
id
interval
local
message
opacity
parent
point
Down
point
Move
point
Up
scaleX
scaleY
scene
src
Height
src
Width
srcX
srcY
state
surface
tag
target
Cameras
touchable
update
width
x
y
Methods
_calculate
Bounding
Rect
_change
Frame
_disable
Touch
Propagation
_enable
Touch
Propagation
_free
_is
Target
Operation
_on
Animating
Started
_on
Animating
Stopped
_on
Elapsed
_on
Update
_update
Matrix
append
calculate
Bounding
Rect
destroy
destroyed
find
Point
Source
ByPoint
game
get
Matrix
hide
insert
Before
invalidate
modified
move
By
move
To
remove
render
render
Self
resize
By
resize
To
scale
should
Find
Children
ByPoint
show
start
stop
visible
create
BySprite
Constructors
constructor
new
Frame
Sprite
(
scene
:
Scene
, src
:
Surface
|
ImageAsset
, width
:
number
, height
:
number
)
:
FrameSprite
new
Frame
Sprite
(
param
:
FrameSpriteParameterObject
)
:
FrameSprite
Parameters
scene:
Scene
src:
Surface
|
ImageAsset
width:
number
height:
number
Returns
FrameSprite
Parameters
param:
FrameSpriteParameterObject
Returns
FrameSprite
Properties
Private
_before
Surface
_before
Surface
:
Surface
Private
_has
Touchable
Children
_has
Touchable
Children
:
boolean
Private
_last
Used
Index
_last
Used
Index
:
number
Private
_matrix
_matrix
:
Matrix
Private
_stretch
Matrix
_stretch
Matrix
:
Matrix
Private
_target
Cameras
_target
Cameras
:
Camera
[]
Private
_timer
_timer
:
Timer
angle
angle
:
number
children
children
:
E
[]
composite
Operation
composite
Operation
:
CompositeOperation
frame
Number
frame
Number
:
number
frames
frames
:
number
[]
height
height
:
number
id
id
:
number
interval
interval
:
number
local
local
:
boolean
message
message
:
Trigger
<
MessageEvent
>
opacity
opacity
:
number
parent
parent
:
E
|
Scene
point
Down
point
Down
:
Trigger
<
PointDownEvent
>
point
Move
point
Move
:
Trigger
<
PointMoveEvent
>
point
Up
point
Up
:
Trigger
<
PointUpEvent
>
scaleX
scaleX
:
number
scaleY
scaleY
:
number
scene
scene
:
Scene
src
Height
src
Height
:
number
src
Width
src
Width
:
number
srcX
srcX
:
number
srcY
srcY
:
number
state
state
:
EntityStateFlags
surface
surface
:
Surface
tag
tag
:
any
target
Cameras
target
Cameras
:
Camera
[]
touchable
touchable
:
boolean
update
update
:
Trigger
<
void
>
width
width
:
number
x
x
:
number
y
y
:
number
Methods
Private
_calculate
Bounding
Rect
_calculate
Bounding
Rect
(
m
?:
Matrix
, c
?:
Camera
)
:
CommonRect
Parameters
Optional
m:
Matrix
Optional
c:
Camera
Returns
CommonRect
Private
_change
Frame
_change
Frame
(
)
:
void
Returns
void
Private
_disable
Touch
Propagation
_disable
Touch
Propagation
(
)
:
void
Returns
void
Private
_enable
Touch
Propagation
_enable
Touch
Propagation
(
)
:
void
Returns
void
Private
_free
_free
(
)
:
void
Returns
void
Private
_is
Target
Operation
_is
Target
Operation
(
e
:
PointEvent
)
:
boolean
Parameters
e:
PointEvent
Returns
boolean
Private
_on
Animating
Started
_on
Animating
Started
(
)
:
void
Returns
void
Private
_on
Animating
Stopped
_on
Animating
Stopped
(
)
:
void
Returns
void
Private
_on
Elapsed
_on
Elapsed
(
)
:
void
Returns
void
Private
_on
Update
_on
Update
(
)
:
void
Returns
void
Private
_update
Matrix
_update
Matrix
(
)
:
void
Returns
void
append
append
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
calculate
Bounding
Rect
calculate
Bounding
Rect
(
c
?:
Camera
)
:
CommonRect
Parameters
Optional
c:
Camera
Returns
CommonRect
destroy
destroy
(
destroySurface
?:
boolean
)
:
void
Parameters
Optional
destroySurface:
boolean
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
find
Point
Source
ByPoint
find
Point
Source
ByPoint
(
point
:
CommonOffset
, m
?:
Matrix
, force
?:
boolean
, camera
?:
Camera
)
:
PointSource
Parameters
point:
CommonOffset
Optional
m:
Matrix
Optional
force:
boolean
Optional
camera:
Camera
Returns
PointSource
game
game
(
)
:
Game
Returns
Game
get
Matrix
get
Matrix
(
)
:
Matrix
Returns
Matrix
hide
hide
(
)
:
void
Returns
void
insert
Before
insert
Before
(
e
:
E
, target
:
E
)
:
void
Parameters
e:
E
target:
E
Returns
void
invalidate
invalidate
(
)
:
void
Returns
void
modified
modified
(
isBubbling
?:
boolean
)
:
void
Parameters
Optional
isBubbling:
boolean
Returns
void
move
By
move
By
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
move
To
move
To
(
x
:
number
, y
:
number
)
:
void
move
To
(
obj
:
CommonOffset
)
:
void
Parameters
x:
number
y:
number
Returns
void
Parameters
obj:
CommonOffset
Returns
void
remove
remove
(
e
?:
E
)
:
void
Parameters
Optional
e:
E
Returns
void
render
render
(
renderer
:
Renderer
, camera
?:
Camera
)
:
void
Parameters
renderer:
Renderer
Optional
camera:
Camera
Returns
void
render
Self
render
Self
(
renderer
:
Renderer
, camera
?:
Camera
)
:
boolean
Parameters
renderer:
Renderer
Optional
camera:
Camera
Returns
boolean
resize
By
resize
By
(
width
:
number
, height
:
number
)
:
void
Parameters
width:
number
height:
number
Returns
void
resize
To
resize
To
(
width
:
number
, height
:
number
)
:
void
resize
To
(
size
:
CommonSize
)
:
void
Parameters
width:
number
height:
number
Returns
void
Parameters
size:
CommonSize
Returns
void
scale
scale
(
scale
:
number
)
:
void
Parameters
scale:
number
Returns
void
should
Find
Children
ByPoint
should
Find
Children
ByPoint
(
point
:
CommonOffset
)
:
boolean
Parameters
point:
CommonOffset
Returns
boolean
show
show
(
)
:
void
Returns
void
start
start
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
visible
visible
(
)
:
boolean
Returns
boolean
Static
create
BySprite
create
BySprite
(
sprite
:
Sprite
, width
?:
number
, height
?:
number
)
:
FrameSprite
Parameters
sprite:
Sprite
Optional
width:
number
Optional
height:
number
Returns
FrameSprite
Globals
Frame
Sprite
constructor
_before
Surface
_has
Touchable
Children
_last
Used
Index
_matrix
_stretch
Matrix
_target
Cameras
_timer
angle
children
composite
Operation
frame
Number
frames
height
id
interval
local
message
opacity
parent
point
Down
point
Move
point
Up
scaleX
scaleY
scene
src
Height
src
Width
srcX
srcY
state
surface
tag
target
Cameras
touchable
update
width
x
y
_calculate
Bounding
Rect
_change
Frame
_disable
Touch
Propagation
_enable
Touch
Propagation
_free
_is
Target
Operation
_on
Animating
Started
_on
Animating
Stopped
_on
Elapsed
_on
Update
_update
Matrix
append
calculate
Bounding
Rect
destroy
destroyed
find
Point
Source
ByPoint
game
get
Matrix
hide
insert
Before
invalidate
modified
move
By
move
To
remove
render
render
Self
resize
By
resize
To
scale
should
Find
Children
ByPoint
show
start
stop
visible
create
BySprite
Generated using
TypeDoc