LayoutElementBuilders.ArcSpacer.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class LayoutElementBuilders.ArcSpacer.Builder implements LayoutElementBuilders.ArcLayoutElement.Builder


Builder for ArcSpacer.

Summary

Public constructors

Public methods

@NonNull LayoutElementBuilders.ArcSpacer

Builds an instance with values accumulated in this Builder.

@NonNull LayoutElementBuilders.ArcSpacer.Builder

Sets the length of this spacer, in degrees.

@NonNull LayoutElementBuilders.ArcSpacer.Builder

Sets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element.

@NonNull LayoutElementBuilders.ArcSpacer.Builder

Sets the thickness of this spacer, in DP.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.5.0-alpha04
Deprecated in 1.5.0-alpha04
public @NonNull LayoutElementBuilders.ArcSpacer build()

Builds an instance with values accumulated in this Builder.

setLength

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull LayoutElementBuilders.ArcSpacer.Builder setLength(@NonNull DimensionBuilders.DegreesProp length)

Sets the length of this spacer, in degrees. If not defined, defaults to 0.

setThickness

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull LayoutElementBuilders.ArcSpacer.Builder setThickness(@NonNull DimensionBuilders.DpProp thickness)

Sets the thickness of this spacer, in DP. If not defined, defaults to 0.