CenteredBinarySplitter

class CenteredBinarySplitter(    val enclosement: IntRectangle,     val invert: Boolean = true,     val constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true },     val xcon: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true},     val ycon: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true}) : Splitter

Constructors

Link copied to clipboard
fun CenteredBinarySplitter(    enclosement: IntRectangle,     invert: Boolean = true,     constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true },     xcon: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true},     ycon: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true})

Functions

Link copied to clipboard
open override fun split(node: PackNode, rectangle: IntRectangle): List<PackNode>

Properties

Link copied to clipboard
val constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean
Link copied to clipboard
val enclosement: IntRectangle
Link copied to clipboard
val invert: Boolean = true
Link copied to clipboard
val xcon: (node: PackNode, rectangle: IntRectangle) -> Boolean
Link copied to clipboard
val ycon: (node: PackNode, rectangle: IntRectangle) -> Boolean

Sources

Link copied to clipboard