public static class CircularProgressDrawable.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
CircularProgressDrawable.Builder |
angleInterpolator(android.view.animation.Interpolator interpolator) |
CircularProgressDrawable |
build() |
CircularProgressDrawable.Builder |
color(int color) |
CircularProgressDrawable.Builder |
colors(int[] colors) |
CircularProgressDrawable.Builder |
maxSweepAngle(int maxSweepAngle) |
CircularProgressDrawable.Builder |
minSweepAngle(int minSweepAngle) |
CircularProgressDrawable.Builder |
rotationSpeed(float rotationSpeed) |
CircularProgressDrawable.Builder |
strokeWidth(float strokeWidth) |
CircularProgressDrawable.Builder |
style(CircularProgressDrawable.Style style) |
CircularProgressDrawable.Builder |
sweepInterpolator(android.view.animation.Interpolator interpolator) |
CircularProgressDrawable.Builder |
sweepSpeed(float sweepSpeed) |
public CircularProgressDrawable.Builder color(int color)
public CircularProgressDrawable.Builder colors(int[] colors)
public CircularProgressDrawable.Builder sweepSpeed(float sweepSpeed)
public CircularProgressDrawable.Builder rotationSpeed(float rotationSpeed)
public CircularProgressDrawable.Builder minSweepAngle(int minSweepAngle)
public CircularProgressDrawable.Builder maxSweepAngle(int maxSweepAngle)
public CircularProgressDrawable.Builder strokeWidth(float strokeWidth)
public CircularProgressDrawable.Builder style(CircularProgressDrawable.Style style)
public CircularProgressDrawable.Builder sweepInterpolator(android.view.animation.Interpolator interpolator)
public CircularProgressDrawable.Builder angleInterpolator(android.view.animation.Interpolator interpolator)
public CircularProgressDrawable build()