Search
Preparing search index...
The search index is not available
nativescript-tinyengine
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"tinyengine.common"
ImageShape
Class ImageShape
Hierarchy
ImageShape
Implements
Shape
Index
Constructors
constructor
Properties
height
img
src
width
Methods
get
Height
get
Img
get
Src
get
Width
init
render
Constructors
constructor
new
Image
Shape
(
width
:
number
, height
:
number
, src
:
string
)
:
ImageShape
Parameters
width:
number
height:
number
src:
string
Returns
ImageShape
Properties
Private
height
height
:
number
Private
img
img
:
Image
Private
src
src
:
string
Private
width
width
:
number
Methods
get
Height
get
Height
(
)
:
number
Returns
number
get
Img
get
Img
(
)
:
Image
Returns
Image
get
Src
get
Src
(
)
:
string
Returns
string
get
Width
get
Width
(
)
:
number
Returns
number
init
init
(
entity
:
Entity
)
:
void
Parameters
entity:
Entity
Returns
void
render
render
(
entity
:
Entity
)
:
void
Parameters
entity:
Entity
Returns
void
Globals
"tinyengine.common"
Collision
Response
Circle
Shape
Cube
Shape
Entity
Image
Shape
constructor
height
img
src
width
get
Height
get
Img
get
Src
get
Width
init
render
OBB
Vector2
World
Component
Shape
Response
Object
Generated using
TypeDoc