AtlasInfo

data class AtlasInfo(val meta: AtlasInfo.Meta = Meta(), val pages: List<AtlasInfo.Page> = listOf())

Constructors

Link copied to clipboard
constructor(frames: List<AtlasInfo.Region>, meta: AtlasInfo.Meta)
constructor(meta: AtlasInfo.Meta = Meta(), pages: List<AtlasInfo.Page> = listOf())

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class FrameTag(val name: String = "", val from: Int = 0, val to: Int = 0, val direction: String = "")
Link copied to clipboard
data class Key(val frame: Int = 0, val bounds: RectangleInt)
Link copied to clipboard
data class Layer(val name: String = "", val opacity: Int = 255, val blendMode: String = "")
Link copied to clipboard
data class Meta(val app: String = "app", val format: String = "format", val image: String = "image", val scale: Double = 1.0, val size: SizeInt = SizeInt(1, 1), val version: String = VERSION, val frameTags: List<AtlasInfo.FrameTag> = listOf(), val layers: List<AtlasInfo.Layer> = listOf(), val slices: List<AtlasInfo.Slice> = listOf())
Link copied to clipboard
data class Page(val fileName: String, var size: SizeInt, var format: String, var filterMin: Boolean, var filterMag: Boolean, var repeatX: Boolean, var repeatY: Boolean, val regions: List<AtlasInfo.Region>)
Link copied to clipboard
data class Region(val name: String, val frame: RectangleInt, val virtFrame: RectangleInt? = null, val imageOrientation: ImageOrientation = ImageOrientation.NORMAL)
Link copied to clipboard
data class Slice(val name: String = "slice", val color: String = "#0000ffff", val keys: List<AtlasInfo.Key>)

Properties

Link copied to clipboard
val app: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun toMap(): Map<String, Any?>
Link copied to clipboard