Package-level declarations

Types

Link copied to clipboard
abstract class BaseBin : Bin
Link copied to clipboard
interface Bin
Link copied to clipboard
open class BinRect(x: Int = 0, y: Int = 0, width: Int = 0, height: Int = 0, isRotated: Boolean = false, allowRotation: Boolean? = null, data: Map<String, Any> = mapOf(), tag: String? = null)
Link copied to clipboard
class MaxRectsBin(val options: PackingOptions = PackingOptions()) : BaseBin
Link copied to clipboard
class MaxRectsPacker(val options: PackingOptions) : Packer
Link copied to clipboard
Link copied to clipboard
interface Packer
Link copied to clipboard
open class PackingOptions(var allowRotation: Boolean = false, var paddingHorizontal: Int = 2, var paddingVertical: Int = 2, var outputPagesAsPowerOfTwo: Boolean = true, var maxWidth: Int = 4096, var maxHeight: Int = 4096, var edgeBorder: Int = 2, var bleed: Boolean = true, var bleedIterations: Int = 2, var extrude: Int = 1)
Link copied to clipboard
class SimpleBin(val width: Int, val height: Int, val freeRects: List<BinRect> = listOf(), val rects: List<BinRect> = listOf(), val options: PackingOptions = PackingOptions(), val data: Map<String, Any> = mapOf()) : Bin