Preparing search index...
The search index is not available
Wayward Types Viewer | 2.13.5-beta
Wayward Types Viewer
utilities/math/Rectangle
default
Class default
Hierarchy
default
Implements
IBox
Index
Constructors
constructor
Properties
position
size
Accessors
bottom
height
left
right
top
width
Methods
get
Center
intersects
from
Box
from
Dimensions
Constructors
constructor
new default
(
position
:
default
, size
:
default
)
:
default
Parameters
position:
default
size:
default
Returns
default
Properties
Readonly
position
position
:
default
Readonly
size
size
:
default
Accessors
bottom
get
bottom
(
)
:
number
Returns
number
height
get
height
(
)
:
number
Returns
number
set
height
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
left
get
left
(
)
:
number
Returns
number
set
left
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
right
get
right
(
)
:
number
Returns
number
top
get
top
(
)
:
number
Returns
number
set
top
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
width
get
width
(
)
:
number
Returns
number
set
width
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
Methods
get
Center
get
Center
(
)
:
default
Returns
default
intersects
intersects
(
v2
:
IVector2
)
:
boolean
Parameters
v2:
IVector2
Returns
boolean
intersects
(
rect2
:
IBox
)
:
boolean
Parameters
rect2:
IBox
Returns
boolean
Static
from
Box
from
Box
(
box
:
IBox
)
:
default
Parameters
box:
IBox
Returns
default
Static
from
Dimensions
from
Dimensions
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
default
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
default
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
position
size
bottom
height
left
right
top
width
get
Center
intersects
from
Box
from
Dimensions
Generated using
TypeDoc