LayoutElementBuilders.ArcLine.Builder

Added in 1.0.0
Deprecated in 1.2.0

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


Builder for ArcLine.

Summary

Public constructors

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.4.0-alpha01
Deprecated in 1.4.0-alpha01
public @NonNull LayoutElementBuilders.ArcLine build()

Builds an instance with values accumulated in this Builder.

setColor

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull LayoutElementBuilders.ArcLine.Builder setColor(@NonNull ColorBuilders.ColorProp color)

Sets the color of this line.

setLength

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

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

setThickness

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

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