Search
Preparing search index...
The search index is not available
@nativewrappers/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nativewrappers/client
Rectangle
Class Rectangle
Hierarchy
Rectangle
Implements
IDrawable
Index
Constructors
constructor
Properties
color
pos
size
Methods
draw
Constructors
constructor
new
Rectangle
(
pos
:
Point
, size
:
Size
, color
:
Color
)
:
Rectangle
Parameters
pos:
Point
size:
Size
color:
Color
Returns
Rectangle
Properties
color
color
:
Color
pos
pos
:
Point
size
size
:
Size
Methods
draw
draw
(
offset
?:
Size
, resolution
?:
Size
)
:
void
draw
(
pos
:
Point
, size
:
Size
, color
:
Color
, resolution
?:
Size
)
:
void
Parameters
Optional
offset:
Size
Optional
resolution:
Size
Returns
void
Parameters
pos:
Point
size:
Size
color:
Color
Optional
resolution:
Size
Returns
void
Exports
Rectangle
constructor
color
pos
size
draw
Generated using
TypeDoc