Search
Preparing search index...
The search index is not available
sfml.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
sfml.js
FloatRect
Class FloatRect
Hierarchy
Rect
<
Vector2F
>
FloatRect
Index
Constructors
constructor
Properties
height
left
top
width
Methods
contains
intersects
Constructors
constructor
new
Float
Rect
(
left
:
number
, top
:
number
, width
:
number
, height
:
number
)
:
FloatRect
new
Float
Rect
(
position
:
PointType
<
Vector2I
>
, size
:
PointType
<
Vector2I
>
)
:
FloatRect
Parameters
left:
number
top:
number
width:
number
height:
number
Returns
FloatRect
Parameters
position:
PointType
<
Vector2I
>
size:
PointType
<
Vector2I
>
Returns
FloatRect
Properties
height
height
:
number
left
left
:
number
top
top
:
number
width
width
:
number
Methods
contains
contains
(
x
:
number
, y
:
number
)
:
boolean
contains
(
point
:
PointType
<
Vector2F
>
)
:
boolean
Parameters
x:
number
y:
number
Returns
boolean
Parameters
point:
PointType
<
Vector2F
>
Returns
boolean
intersects
intersects
(
rect
:
Rect
<
Vector2F
>
)
:
false
|
Rect
<
Vector2F
>
Parameters
rect:
Rect
<
Vector2F
>
Returns
false
|
Rect
<
Vector2F
>
Exports
Float
Rect
constructor
height
left
top
width
contains
intersects
Generated using
TypeDoc