🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

Orientation

Class to define possible directions in which common gesture modifiers like draggable and scrollable can drag.

Source set: Common
public enum class Orientation {
    /** Vertical orientation representing Y axis */
    Vertical,

    /**
     * Horizontal orientation representing X axis.
     *
     * Note: this value specifies just the axis, not the direction (left-to-right or right-to-left).
     * To support RTL cases, use `reverseDirection = true` on [scrollable] and [draggable].
     */
    Horizontal,
}

Class to define possible directions in which common gesture modifiers like draggable and scrollable can drag.

Members

Vertical

Source set: Common
Vertical

Vertical orientation representing Y axis

Horizontal

Source set: Common
Horizontal

Horizontal orientation representing X axis.

Note: this value specifies just the axis, not the direction (left-to-right or right-to-left). To support RTL cases, use reverseDirection = true on scrollable and draggable.