MaxRectsPacker

class MaxRectsPacker(val options: PackingOptions) : Packer

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override 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
open override fun load(bins: List<Bin>)
Link copied to clipboard
open override fun next(): Int
Link copied to clipboard
open override fun repack(quick: Boolean)
Link copied to clipboard
open override fun reset()
Link copied to clipboard
open override fun save(): List<Bin>
Link copied to clipboard
open override fun sort(rects: List<BinRect>): List<BinRect>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int