LayoutElementBuilders.ArcLine.Builder
public final class LayoutElementBuilders.ArcLine.Builder implements LayoutElementBuilders.ArcLayoutElement.Builder
Builder for ArcLine.
Summary
Public constructors |
|---|
|
Public methods |
|
|---|---|
@NonNull LayoutElementBuilders.ArcLine |
Builds an instance with values accumulated in this Builder. |
@NonNull LayoutElementBuilders.ArcLine.Builder |
Sets the color of this line. |
@NonNull LayoutElementBuilders.ArcLine.Builder |
Sets the length of this line, in degrees. |
@NonNull LayoutElementBuilders.ArcLine.Builder |
Sets |
@NonNull LayoutElementBuilders.ArcLine.Builder |
Sets the thickness of this line. |
Public methods
build
public @NonNull LayoutElementBuilders.ArcLinebuild()
Builds an instance with values accumulated in this Builder.
public @NonNull LayoutElementBuilders.ArcLine.BuildersetColor(@NonNull ColorBuilders.ColorProp color)
Sets the color of this line.
public @NonNull LayoutElementBuilders.ArcLine.BuildersetLength(@NonNull DimensionBuilders.DegreesProp length)
Sets the length of this line, in degrees. If not defined, defaults to 0.
public @NonNull LayoutElementBuilders.ArcLine.BuildersetModifiers(@NonNull ModifiersBuilders.ArcModifiers modifiers)
Sets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element.
public @NonNull LayoutElementBuilders.ArcLine.BuildersetThickness(@NonNull DimensionBuilders.DpProp thickness)
Sets the thickness of this line. If not defined, defaults to 0.