androidx.compose.foundation.layout
WindowInsetsSides
Value class · from org.jetbrains.compose.foundation:foundation-layout:1.12.2
No hand-written docs yet.
WindowInsetsSides is used in WindowInsets.only to define which sides of the WindowInsets should apply.
value class WindowInsetsSides
Used by
Parameters that take a WindowInsetsSides.
WindowInsetsSides.plus(sides)
Properties
Start
val Start
Indicates a WindowInsets start side, which is left or right depending on LayoutDirection. If LayoutDirection.Ltr, Start is the left side. If LayoutDirection.Rtl, Start is the right side.
End
val End
Indicates a WindowInsets end side, which is left or right depending on LayoutDirection. If LayoutDirection.Ltr, End is the right side. If LayoutDirection.Rtl, End is the left side.
Top
val Top: WindowInsetsSides
Indicates a WindowInsets top side.
Bottom
val Bottom: WindowInsetsSides
Indicates a WindowInsets bottom side.
Left
val Left
Indicates a WindowInsets left side. Most layouts will prefer using Start or End to account for LayoutDirection.
Right
val Right
Indicates a WindowInsets right side. Most layouts will prefer using Start or End to account for LayoutDirection.
Horizontal
val Horizontal
Indicates a WindowInsets horizontal sides. This is a combination of Left and Right sides, or Start and End sides.
Vertical
val Vertical
Indicates a WindowInsets Top and Bottom sides.
Functions
plus
fun plus(sides: WindowInsetsSides): WindowInsetsSides
Returns a WindowInsetsSides containing sides defied in sides and the sides in this.
Library docs
WindowInsetsSides is used in WindowInsets.only to define which sides of the WindowInsets
should apply.