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

HingeInfo

A class that contains the info of a hinge relevant to a Posture.

Source set: Common
class HingeInfo(
    val bounds: Rect,
    val isVertical: Boolean,
    val isSeparating: Boolean,
    val isOccluding: Boolean
)

A class that contains the info of a hinge relevant to a Posture.

Parameters

bounds the bounds of the hinge in the relevant viewport.
isVertical true if the hinge is a vertical one, i.e., it separates the viewport into left and right; false if the hinge is horizontal, i.e., it separates the viewport into top and bottom.
isSeparating true if the hinge creates two logical display areas.
isOccluding true if the hinge conceals part of the display.

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

toString

Source set: Common
override fun toString(): String

Content updated: