Treemap

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 })

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var paddingTop: (Node<T, Tile>) -> Float
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun layout(root: Node<T, *>): Node<T, Tile>