Source set: Android
public sealed interface ContentEdge
An enum that represents the edges of a view where an orbiter can be placed.
Members
Horizontal
Source set: Android
public class Horizontal private constructor(private val displayName: String) : ContentEdge
Functions
toString
Source set: Android
override fun toString(): String
Returns the string representation of the edge.
Members
Companion
Source set: Android
public companion object
Properties
Top
Source set: Android
public val Top: Horizontal = Horizontal("Top")
Positioning constant to place an orbiter above the content's top edge.
Bottom
Source set: Android
public val Bottom: Horizontal = Horizontal("Bottom")
Positioning constant to place an orbiter below the content's bottom edge.
Vertical
Source set: Android
public class Vertical private constructor(private val displayName: String) : ContentEdge
Represents vertical edges (start or end).
Functions
toString
Source set: Android
override fun toString(): String
Returns the string representation of the edge.
Members
Companion
Source set: Android
public companion object
Properties
Start
Source set: Android
public val Start: Vertical = Vertical("Start")
Positioning constant to place an orbiter at the start of the content's starting edge.
End
Source set: Android
public val End: Vertical = Vertical("End")
Positioning constant to place an orbiter at the end of the content's ending edge.
Companion
Source set: Android
public companion object
Properties
Top
Source set: Android
public val Top: Horizontal = Horizontal.Top
The top edge.
Bottom
Source set: Android
public val Bottom: Horizontal = Horizontal.Bottom
The bottom edge.
Start
Source set: Android
public val Start: Vertical = Vertical.Start
The start edge.
End
Source set: Android
public val End: Vertical = Vertical.End
The end edge.