littlekt
0.6.0
common
core
/
com.lehaine.littlekt.math
/
RectBuilder
Rect
Builder
class
RectBuilder
Constructors
Functions
Properties
Constructors
Rect
Builder
Link copied to clipboard
fun
RectBuilder
(
)
Functions
add
Bezier
Link copied to clipboard
fun
addBezier
(
x0
:
Float
,
y0
:
Float
,
x1
:
Float
,
y1
:
Float
,
x2
:
Float
,
y2
:
Float
,
x
:
Float
,
y
:
Float
)
add
Quad
Link copied to clipboard
fun
addQuad
(
x0
:
Float
,
y0
:
Float
,
x1
:
Float
,
y1
:
Float
,
x
:
Float
,
y
:
Float
)
build
Link copied to clipboard
fun
build
(
)
:
Rect
include
Link copied to clipboard
fun
include
(
x
:
Float
,
y
:
Float
)
fun
include
(
x
:
Int
,
y
:
Int
)
include
X
Link copied to clipboard
fun
includeX
(
x
:
Float
)
fun
includeX
(
x
:
Int
)
include
Y
Link copied to clipboard
fun
includeY
(
y
:
Float
)
fun
includeY
(
y
:
Int
)
is
Empty
Link copied to clipboard
fun
isEmpty
(
)
:
Boolean
reset
Link copied to clipboard
fun
reset
(
)
Properties
max
X
Link copied to clipboard
var
maxX
:
Float
max
Y
Link copied to clipboard
var
maxY
:
Float
min
X
Link copied to clipboard
var
minX
:
Float
min
Y
Link copied to clipboard
var
minY
:
Float