StackAxis

The world axis along which a io.github.jayteealao.isometric.compose.runtime.Stack composable arranges its children.

In isometric view:

  • Z is vertical (up/down on screen) — the most common stacking direction.

  • runs right-and-forward on screen.

  • Y runs left-and-forward on screen.

Pass to Stack via the axis parameter. Defaults to Z.

Entries

Link copied to clipboard

Stack along the world X axis (right-and-forward in isometric view).

Link copied to clipboard

Stack along the world Y axis (left-and-forward in isometric view).

Link copied to clipboard

Stack along the world Z axis (vertical — the default stacking direction).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the unit Point for this axis.

Link copied to clipboard
fun valueOf(value: String): StackAxis

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.