# TreeMapAccessor

actual interface TreeMapAccessor<in N>
expect interface TreeMapAccessor<in N>

#### Inheritors

TreeMapModel
actual interface TreeMapAccessor<in N>
actual external interface TreeMapAccessor<in N>

## Functions

getBounds
Link copied to clipboard
actual abstract fun getBounds(node: N): Rectangle2D

Gets the bounding rectangle of the item in the map.

expect abstract fun getBounds(node: N): Rectangle2D

Gets the bounding rectangle of the item in the map.

actual abstract fun getBounds(node: N): Rectangle2D

Gets the bounding rectangle of the item in the map.

actual abstract fun getBounds(node: N): Rectangle2D

Gets the bounding rectangle of the item in the map.

getLevel
Link copied to clipboard
actual abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

expect abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

actual abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

actual abstract fun getLevel(node: N): Int

Gets the depth in hierarchy.

getShape
Link copied to clipboard
actual abstract fun getShape(node: N): Shape?

Gets the shape of the item in the map.

expect abstract fun getShape(node: N): Shape?

Gets the shape of the item in the map.

actual abstract fun getShape(node: N): Shape?

Gets the shape of the item in the map.

actual abstract fun getShape(node: N): Shape?

Gets the shape of the item in the map.

getSize
Link copied to clipboard
actual abstract fun getSize(node: N): Double

Corresponds to area in map.

expect abstract fun getSize(node: N): Double

Corresponds to area in map.

actual abstract fun getSize(node: N): Double

Corresponds to area in map.

actual abstract fun getSize(node: N): Double

Corresponds to area in map.

hasNoChildren
Link copied to clipboard
actual abstract fun hasNoChildren(node: N): Boolean

Tells whether the given node is a leaf node or not.

expect abstract fun hasNoChildren(node: N): Boolean

Tells whether the given node is a leaf node or not.

actual abstract fun hasNoChildren(node: N): Boolean

Tells whether the given node is a leaf node or not.

actual abstract fun hasNoChildren(node: N): Boolean

Tells whether the given node is a leaf node or not.

setShape
Link copied to clipboard
actual abstract fun setShape(node: N, shape: Shape?)

Sets the shape of the item in the map.

expect abstract fun setShape(node: N, shape: Shape?)

Sets the shape of the item in the map.

actual abstract fun setShape(node: N, shape: Shape?)

Sets the shape of the item in the map.

actual abstract fun setShape(node: N, shape: Shape?)

Sets the shape of the item in the map.