korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-image
/
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
(
textures
:
Map
<
String
,
BmpSlice
>
,
info
:
AtlasInfo
=
AtlasInfo()
)
constructor
(
texture
:
BmpSlice
,
info
:
AtlasInfo
=
AtlasInfo()
)
constructor
(
slices
:
List
<
BmpSlice
>
)
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
:
BmpSlice
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
?