toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.slice
/
RectCoords
Rect
Coords
data
class
RectCoords
(
val
tlX
:
Float
,
val
tlY
:
Float
,
val
trX
:
Float
,
val
trY
:
Float
,
val
brX
:
Float
,
val
brY
:
Float
,
val
blX
:
Float
,
val
blY
:
Float
)
:
SliceCoords
Members
Members & Extensions
Constructors
Rect
Coords
Link copied to clipboard
constructor
(
tlX
:
Float
,
tlY
:
Float
,
trX
:
Float
,
trY
:
Float
,
brX
:
Float
,
brY
:
Float
,
blX
:
Float
,
blY
:
Float
)
Properties
bl
X
Link copied to clipboard
open
override
val
blX
:
Float
bl
Y
Link copied to clipboard
open
override
val
blY
:
Float
br
X
Link copied to clipboard
open
override
val
brX
:
Float
br
Y
Link copied to clipboard
open
override
val
brY
:
Float
tl
X
Link copied to clipboard
open
override
val
tlX
:
Float
tl
Y
Link copied to clipboard
open
override
val
tlY
:
Float
tr
X
Link copied to clipboard
open
override
val
trX
:
Float
tr
Y
Link copied to clipboard
open
override
val
trY
:
Float
Functions
flipped
X
Link copied to clipboard
fun
flippedX
(
)
:
RectCoords
flipped
Y
Link copied to clipboard
fun
flippedY
(
)
:
RectCoords
rotated
Left
Link copied to clipboard
fun
rotatedLeft
(
offset
:
Int
=
+1
)
:
RectCoords
rotated
Right
Link copied to clipboard
fun
rotatedRight
(
offset
:
Int
=
+1
)
:
RectCoords
transformed
Link copied to clipboard
fun
SliceCoords
.
transformed
(
m
:
Matrix
)
:
RectCoords
fun
SliceCoords
.
transformed
(
m
:
Matrix4
)
:
RectCoords
fun
SliceCoords
.
transformed
(
orientation
:
SliceOrientation
)
:
RectCoords
x
Link copied to clipboard
open
fun
x
(
index
:
Int
)
:
Float
y
Link copied to clipboard
open
fun
y
(
index
:
Int
)
:
Float