Class

OrbiterAnchorPoint.Absolute

Provides anchor points that are not affected by LayoutDirection.

Source set: Android
public sealed class Absolute : OrbiterAnchorPoint()

Provides anchor points that are not affected by LayoutDirection.

Members

TopLeft

Source set: Android
public object TopLeft : Absolute()

Attach the Orbiter at the left of the top edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

TopRight

Source set: Android
public object TopRight : Absolute()

Attach the Orbiter at the right of the top edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

RightTop

Source set: Android
public object RightTop : Absolute()

Attach the Orbiter at the top of the right edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3
Source set: Android
public object Right : Absolute()

Attach the Orbiter at the center of the right edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

RightBottom

Source set: Android
public object RightBottom : Absolute()

Attach the Orbiter at the bottom of the right edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

BottomLeft

Source set: Android
public object BottomLeft : Absolute()

Attach the Orbiter at the left of the bottom edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

BottomRight

Source set: Android
public object BottomRight : Absolute()

Attach the Orbiter at the right of the bottom edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

LeftTop

Source set: Android
public object LeftTop : Absolute()

Attach the Orbiter at the top of the left edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

Left

Source set: Android
public object Left : Absolute()

Attach the Orbiter at the center of the left edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3

LeftBottom

Source set: Android
public object LeftBottom : Absolute()

Attach the Orbiter at the bottom of the left edge of the content.

Functions

calculateAnchorVector

Source set: Android
override fun calculateAnchorVector(
                anchorHalfSize: FloatSize2d,
                layoutDirection: LayoutDirection,
                orbiterHalfSize: FloatSize2d,
            ): Vector3
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: