littlekt
0.6.0
common
core
/
com.lehaine.littlekt.graphics
/
PixmapSlice
Pixmap
Slice
data
class
PixmapSlice
(
val
pixmap
:
Pixmap
,
val
x
:
Int
=
0
,
val
y
:
Int
=
0
,
val
width
:
Int
=
pixmap.width
,
val
height
:
Int
=
pixmap.height
)
A rectangular slice of a pixmap.
Author
Colt Daily 12/22/2021
Constructors
Properties
Constructors
Pixmap
Slice
Link copied to clipboard
fun
PixmapSlice
(
pixmap
:
Pixmap
,
x
:
Int
=
0
,
y
:
Int
=
0
,
width
:
Int
=
pixmap.width
,
height
:
Int
=
pixmap.height
)
Properties
height
Link copied to clipboard
val
height
:
Int
pixmap
Link copied to clipboard
val
pixmap
:
Pixmap
width
Link copied to clipboard
val
width
:
Int
x
Link copied to clipboard
val
x
:
Int
=
0
y
Link copied to clipboard
val
y
:
Int
=
0