InnerInsetsRulers


A BasicAnimatableInsetsRulers for merging WindowInsets RectRulers. The source and target will have values only when isAnimating is true. isAnimating will be true when any of the rulers are BasicAnimatableInsetsRulers and are animating.

Summary

Public constructors

InnerInsetsRulers(vararg rulers: RectRulers)
android

Public functions

open Boolean

True when the Window Insets are currently being animated.

android
open Boolean

True when the Window Insets are currently being animated.

android
open String
android

Public properties

open HorizontalRuler

The bottom position of the rectangle

android
open VerticalRuler

The left position of the rectangle.

android
open VerticalRuler

The right position of the rectangle

android
Array<RectRulers>
android
open RectRulers

The starting insets value of the animation when isAnimating is true.

android
open RectRulers

The ending insets value of the animation when isAnimating is true.

android
open HorizontalRuler

The top position of the rectangle.

android

Public constructors

InnerInsetsRulers

InnerInsetsRulers(vararg rulers: RectRulers)

Public functions

isAnimating

open fun isAnimating(node: DelegatableNode): Boolean

True when the Window Insets are currently being animated. source and target will be set while isAnimating is true.

Parameters
node: DelegatableNode

The DelegatableNode that the is being used to read the value.

isAnimating

open fun isAnimating(placementScope: Placeable.PlacementScope): Boolean

True when the Window Insets are currently being animated. source and target will be set while isAnimating is true.

toString

open fun toString(): String

Public properties

bottom

open val bottomHorizontalRuler

The bottom position of the rectangle

left

open val leftVerticalRuler

The left position of the rectangle.

right

open val rightVerticalRuler

The right position of the rectangle

rulers

val rulersArray<RectRulers>

source

open val sourceRectRulers

The starting insets value of the animation when isAnimating is true.

target

open val targetRectRulers

The ending insets value of the animation when isAnimating is true.

top

open val topHorizontalRuler

The top position of the rectangle.