Package-level declarations

Types

Link copied to clipboard
object Dice : TileMethod
Link copied to clipboard
object Slice : TileMethod
Link copied to clipboard
Link copied to clipboard
class Squarify(aspectRatio: Float = GOLDEN_RATIO) : TileMethod

Implementation of https://www.win.tue.nl/~vanwijk/stm.pdf

Link copied to clipboard
class Tile
Link copied to clipboard
interface TileMethod
Link copied to clipboard
class Treemap<T>(var width: Float = 1.0f, var height: Float = 1.0f, var tileMethod: TileMethod = Squarify(), var paddingLeft: (Node<T, Tile>) -> Float = { 0f }, var paddingTop: (Node<T, Tile>) -> Float = { 0f }, var paddingRight: (Node<T, Tile>) -> Float = { 0f }, var paddingBottom: (Node<T, Tile>) -> Float = { 0f }, var paddingInner: (Node<T, Tile>) -> Float = { 0f })

Functions

Link copied to clipboard
fun <T> Node<T, *>.layoutWith(treemap: Treemap<T>): Node<T, Tile>
Link copied to clipboard
fun tile(left: Float, top: Float, right: Float, bottom: Float): Tile