LayoutElementBuilders.ArcSpacer.Builder

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


Builder for ArcSpacer.

Summary

Public constructors

Public constructors

Builder

public Builder()

Public methods

build

@Override
@NonNull
public @Override LayoutElementBuilders.ArcSpacer build()

Builds an instance with values accumulated in this Builder.

setLength

@NonNull
public LayoutElementBuilders.ArcSpacer.Builder setLength(@NonNull DimensionBuilders.DegreesProp length)

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

setThickness

@NonNull
public LayoutElementBuilders.ArcSpacer.Builder setThickness(@NonNull DimensionBuilders.DpProp thickness)

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