Orientations

interface Orientations

提供对所有标准 Orientation 值的访问入口。

用于定义手势(如拖动和滚动)的方向。

Functions

Link copied to clipboard
abstract fun getHorizontal(): Orientation

获取水平方向 (androidx.compose.foundation.gestures.Orientation.Horizontal)。

Link copied to clipboard
abstract fun getVertical(): Orientation

获取垂直方向 (androidx.compose.foundation.gestures.Orientation.Vertical)。