toggle menu
Glok
0.5.1
common
switch theme
search in API
glok-core
/
uk.co.nickthecoder.glok.scene
/
IconSheet
Icon
Sheet
class
IconSheet
(
resources
:
Resources
,
textureName
:
String
,
val
size
:
Int
)
Members
Members & Extensions
Constructors
Icon
Sheet
Link copied to clipboard
constructor
(
resources
:
Resources
,
textureName
:
String
,
size
:
Int
)
Properties
size
Link copied to clipboard
val
size
:
Int
texture
Link copied to clipboard
val
texture
:
Texture
Functions
add
Icon
Link copied to clipboard
fun
addIcon
(
name
:
String
,
x
:
Int
,
y
:
Int
)
get
Link copied to clipboard
operator
fun
get
(
name
:
String
)
:
Pair
<
Int
,
Int
>
?
grid
Link copied to clipboard
fun
IconSheet
.
grid
(
left
:
Int
,
top
:
Int
,
spacing
:
Int
,
block
:
IconGrid
.
(
)
->
Unit
)
icon
Link copied to clipboard
fun
IconSheet
.
icon
(
name
:
String
,
x
:
Int
,
y
:
Int
)
row
Link copied to clipboard
fun
IconSheet
.
row
(
left
:
Int
,
top
:
Int
,
spacing
:
Int
,
vararg
names
:
String
)
fun
IconSheet
.
row
(
prefix
:
String
,
left
:
Int
,
top
:
Int
,
spacing
:
Int
,
vararg
names
:
String
)