toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
MRectangle
/
Companion
Companion
object
Companion
Members
Properties
POOL
Link copied to clipboard
val
POOL
:
ConcurrentPool
<
MRectangle
>
Functions
from
Bounds
Link copied to clipboard
fun
fromBounds
(
point1
:
MPoint
,
point2
:
MPoint
)
:
MRectangle
fun
fromBounds
(
left
:
Double
,
top
:
Double
,
right
:
Double
,
bottom
:
Double
)
:
MRectangle
fun
fromBounds
(
left
:
Float
,
top
:
Float
,
right
:
Float
,
bottom
:
Float
)
:
MRectangle
fun
fromBounds
(
left
:
Int
,
top
:
Int
,
right
:
Int
,
bottom
:
Int
)
:
MRectangle
invoke
Link copied to clipboard
operator
fun
invoke
(
)
:
MRectangle
operator
fun
invoke
(
point1
:
MPoint
,
point2
:
MPoint
)
:
MRectangle
operator
fun
invoke
(
topLeft
:
MPoint
,
size
:
MSize
)
:
MRectangle
operator
fun
invoke
(
topLeft
:
Point
,
size
:
Size
)
:
MRectangle
operator
fun
invoke
(
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
)
:
MRectangle
operator
fun
invoke
(
x
:
Int
,
y
:
Int
,
width
:
Int
,
height
:
Int
)
:
MRectangle
is
Contained
In
Link copied to clipboard
fun
isContainedIn
(
a
:
MRectangle
,
b
:
MRectangle
)
:
Boolean