littlekt
0.6.0
common
core
/
com.lehaine.littlekt.graphics.g2d
/
TextureSlice
/
TextureSlice
Texture
Slice
fun
TextureSlice
(
slice
:
TextureSlice
,
x
:
Int
=
0
,
y
:
Int
=
0
,
width
:
Int
=
slice.width
,
height
:
Int
=
slice.height
)
fun
TextureSlice
(
texture
:
Texture
,
x
:
Int
=
0
,
y
:
Int
=
0
,
width
:
Int
=
texture.width
,
height
:
Int
=
texture.height
)