LayoutElementBuilders.ArcLine.Builder

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


Builder for ArcLine.

Summary

Public methods

build

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

Builds an instance with values accumulated in this Builder.

setColor

@NonNull
public LayoutElementBuilders.ArcLine.Builder setColor(@NonNull ColorBuilders.ColorProp color)

Sets the color of this line.

setColor

@NonNull
public LayoutElementBuilders.ArcLine.Builder setColor(@NonNull ColorBuilders.ColorProp.Builder colorBuilder)

Sets the color of this line.

setLength

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

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

setLength

@NonNull
public LayoutElementBuilders.ArcLine.Builder setLength(@NonNull DimensionBuilders.DegreesProp.Builder lengthBuilder)

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

setThickness

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

Sets the thickness of this line. If not defined, defaults to 0.

setThickness

@NonNull
public LayoutElementBuilders.ArcLine.Builder setThickness(@NonNull DimensionBuilders.DpProp.Builder thicknessBuilder)

Sets the thickness of this line. If not defined, defaults to 0.