toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.atlas
/
Atlas
Atlas
class
Atlas
(
val
textures
:
Map
<
String
,
BmpSlice
>
,
val
info
:
AtlasInfo
=
AtlasInfo()
)
:
AtlasLookup
Members
Constructors
Atlas
Link copied to clipboard
constructor
(
texture
:
BmpSlice
,
info
:
AtlasInfo
=
AtlasInfo()
)
constructor
(
slices
:
List
<
BmpSlice
>
)
constructor
(
textures
:
Map
<
String
,
BmpSlice
>
,
info
:
AtlasInfo
=
AtlasInfo()
)
Types
Entry
Link copied to clipboard
inner
class
Entry
(
val
info
:
AtlasInfo.Region
,
val
page
:
AtlasInfo.Page
)
Properties
entries
Link copied to clipboard
val
entries
:
List
<
Atlas.Entry
>
entries
Map
Link copied to clipboard
val
entriesMap
:
Map
<
String
,
Atlas.Entry
>
info
Link copied to clipboard
val
info
:
AtlasInfo
texture
Link copied to clipboard
val
texture
:
RectSlice
<
out
Bitmap
>
textures
Link copied to clipboard
val
textures
:
Map
<
String
,
BmpSlice
>
Functions
get
Link copied to clipboard
open
operator
fun
get
(
name
:
String
)
:
BmpSlice
try
Get
Link copied to clipboard
open
fun
tryGet
(
name
:
String
)
:
BmpSlice
?
try
Get
Entry
By
Name
Link copied to clipboard
open
override
fun
tryGetEntryByName
(
name
:
String
)
:
Atlas.Entry
?