Packer

interface Packer

Author

Colton Daily

Functions

Link copied to clipboard
abstract fun add(rect: BinRect): BinRect
open fun add(rects: List<BinRect>)
open fun add(width: Int, height: Int, data: Map<String, Any> = mapOf()): BinRect
Link copied to clipboard
abstract fun load(bins: List<Bin>)
Link copied to clipboard
abstract fun next(): Int
Link copied to clipboard
abstract fun repack(quick: Boolean = true)
Link copied to clipboard
abstract fun reset()
Link copied to clipboard
abstract fun save(): List<Bin>
Link copied to clipboard
abstract fun sort(rects: List<BinRect>): List<BinRect>

Inheritors

Link copied to clipboard