littlekt
0.6.0
common
core
/
com.lehaine.littlekt.graph.node.resource
/
TextureSliceDrawable
Texture
Slice
Drawable
class
TextureSliceDrawable
(
val
slice
:
TextureSlice
)
:
Drawable
A
Drawable
for a
TextureSlice
.
Author
Colton Daily
Constructors
Functions
Properties
Constructors
Texture
Slice
Drawable
Link copied to clipboard
fun
TextureSliceDrawable
(
texture
:
Texture
)
Texture
Slice
Drawable
Link copied to clipboard
fun
TextureSliceDrawable
(
slice
:
TextureSlice
)
Functions
draw
Link copied to clipboard
open
override
fun
draw
(
batch
:
Batch
,
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
,
scaleX
:
Float
,
scaleY
:
Float
,
rotation
:
Angle
,
color
:
Color
)
Properties
margin
Bottom
Link copied to clipboard
open
override
var
marginBottom
:
Float
=
0.0f
margin
Left
Link copied to clipboard
open
override
var
marginLeft
:
Float
=
0.0f
margin
Right
Link copied to clipboard
open
override
var
marginRight
:
Float
=
0.0f
margin
Top
Link copied to clipboard
open
override
var
marginTop
:
Float
=
0.0f
min
Height
Link copied to clipboard
open
override
var
minHeight
:
Float
min
Width
Link copied to clipboard
open
override
var
minWidth
:
Float
modulate
Link copied to clipboard
open
override
var
modulate
:
Color
slice
Link copied to clipboard
val
slice
:
TextureSlice