Trigger Info
data class TriggerInfo(val positionInRoot: IntOffset = IntOffset.Zero, val size: IntSize = IntSize.Zero, val focusScaleFactor: Float = 0.0f, val topAlignmentLine: Int = AlignmentLine.Unspecified, val bottomAlignmentLine: Int = AlignmentLine.Unspecified, val startAlignmentLine: Int = AlignmentLine.Unspecified, val endAlignmentLine: Int = AlignmentLine.Unspecified, val cutoutShape: Shape = RectangleShape, val cutoutPaddings: PaddingValues = PaddingValues(0.dp), val positionInScreen: IntOffset = IntOffset.Zero, val visibleBoundsInScreen: Rect? = null)
Информация о размерах и расположении триггера
Constructors
Link copied to clipboard
constructor(positionInRoot: IntOffset = IntOffset.Zero, size: IntSize = IntSize.Zero, focusScaleFactor: Float = 0.0f, topAlignmentLine: Int = AlignmentLine.Unspecified, bottomAlignmentLine: Int = AlignmentLine.Unspecified, startAlignmentLine: Int = AlignmentLine.Unspecified, endAlignmentLine: Int = AlignmentLine.Unspecified, cutoutShape: Shape = RectangleShape, cutoutPaddings: PaddingValues = PaddingValues(0.dp), positionInScreen: IntOffset = IntOffset.Zero, visibleBoundsInScreen: Rect? = null)
Properties
Link copied to clipboard
нижняя линия выранивания триггера. Рассчитывается относительно positionInRoot
Link copied to clipboard
отступ формы выреза под trigger
Link copied to clipboard
форма выреза под trigger
Link copied to clipboard
конечная линия выранивания триггера. Рассчитывается относительно positionInRoot
Link copied to clipboard
на сколько триггер увеличен в фокусе
Link copied to clipboard
координаты триггера
Link copied to clipboard
координаты триггера на экране
Link copied to clipboard
начальная линия выранивания триггера. Рассчитывается относительно positionInRoot
Link copied to clipboard
верхняя линия выранивания триггера. Рассчитывается относительно positionInRoot
Link copied to clipboard
видимая область триггера на экране с учетом clipping