Interface

ArcPaddingValues

Apply additional space along each edge of the content in Dp.

Source set: Android
public interface ArcPaddingValues

Apply additional space along each edge of the content in Dp. See the ArcPaddingValues factories for convenient ways to build ArcPaddingValues.

Functions

calculateOuterPadding

Source set: Android
public fun calculateOuterPadding(radialDirection: CurvedDirection.Radial): Dp

Padding in the outward direction from the center of the CurvedLayout

calculateInnerPadding

Source set: Android
public fun calculateInnerPadding(radialDirection: CurvedDirection.Radial): Dp

Padding in the inwards direction towards the center of the CurvedLayout

calculateAfterPadding

Source set: Android
public fun calculateAfterPadding(
        layoutDirection: LayoutDirection,
        angularDirection: CurvedDirection.Angular,
    ): Dp

Padding added after the component, if it was drawn clockwise. This is the edge of the component with the "biggest" angle.

calculateBeforePadding

Source set: Android
public fun calculateBeforePadding(
        layoutDirection: LayoutDirection,
        angularDirection: CurvedDirection.Angular,
    ): Dp

Padding added before the component, if it was drawn clockwise. This is the edge of the component with the "smallest" angle.

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: