TreeMapAccessor

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

Inheritors

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

Functions

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.

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.

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.

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.

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.

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.