ModifiersBuilders.Corner

public final class ModifiersBuilders.Corner


The corner of a androidx.wear.tiles.LayoutElementBuilders.Box element.

Summary

Nested types

ModifiersBuilders.Corner.Builder

Builder for Corner

Public methods

static @NonNull ModifiersBuilders.Corner.Builder

Returns a new Builder.

@Nullable DimensionBuilders.DpProp

Gets the radius of the corner in DP.

Public methods

builder

@NonNull
public static ModifiersBuilders.Corner.Builder builder()

Returns a new Builder.

getRadius

@Nullable
@NonNull
public DimensionBuilders.DpProp getRadius()

Gets the radius of the corner in DP. Intended for testing purposes only.