openrndr / org.openrndr.binpack / GreedySplitter

GreedySplitter

class GreedySplitter : Splitter (source)

Constructors

<init>

GreedySplitter()

Properties

horizontalBias

var horizontalBias: Double

horizontalDivisions

var horizontalDivisions: Int

verticalBias

var verticalBias: Double

verticalDivisions

var verticalDivisions: Int

Functions

split

fun split(node: PackNode, rectangle: IntRectangle): List<PackNode>