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
ImageAsset
Class ImageAsset
Hierarchy
Asset
ImageAsset
VideoAsset
Implements
Destroyable
Index
Constructors
constructor
Properties
height
id
on
Destroyed
original
Path
path
width
Methods
_asset
Path
Filter
_load
as
Surface
destroy
destroyed
in
Use
Constructors
constructor
new
Image
Asset
(
id
:
string
, assetPath
:
string
, width
:
number
, height
:
number
)
:
ImageAsset
Parameters
id:
string
assetPath:
string
width:
number
height:
number
Returns
ImageAsset
Properties
height
height
:
number
id
id
:
string
on
Destroyed
on
Destroyed
:
Trigger
<
Asset
>
original
Path
original
Path
:
string
path
path
:
string
width
width
:
number
Methods
Private
_asset
Path
Filter
_asset
Path
Filter
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
Private
_load
_load
(
loader
:
AssetLoadHandler
)
:
void
Parameters
loader:
AssetLoadHandler
Returns
void
as
Surface
as
Surface
(
)
:
Surface
Returns
Surface
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
in
Use
in
Use
(
)
:
boolean
Returns
boolean
Globals
Image
Asset
constructor
height
id
on
Destroyed
original
Path
path
width
_asset
Path
Filter
_load
as
Surface
destroy
destroyed
in
Use
Generated using
TypeDoc