fr.castorflex.android.circularprogressbar
Class CircularProgressDrawable.Builder

java.lang.Object
  extended by fr.castorflex.android.circularprogressbar.CircularProgressDrawable.Builder
Enclosing class:
CircularProgressDrawable

public static class CircularProgressDrawable.Builder
extends java.lang.Object


Constructor Summary
CircularProgressDrawable.Builder(android.content.Context context)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircularProgressDrawable.Builder

public CircularProgressDrawable.Builder(android.content.Context context)
Method Detail

color

public CircularProgressDrawable.Builder color(int color)

colors

public CircularProgressDrawable.Builder colors(int[] colors)

sweepSpeed

public CircularProgressDrawable.Builder sweepSpeed(float sweepSpeed)

rotationSpeed

public CircularProgressDrawable.Builder rotationSpeed(float rotationSpeed)

minSweepAngle

public CircularProgressDrawable.Builder minSweepAngle(int minSweepAngle)

maxSweepAngle

public CircularProgressDrawable.Builder maxSweepAngle(int maxSweepAngle)

strokeWidth

public CircularProgressDrawable.Builder strokeWidth(float strokeWidth)

style

public CircularProgressDrawable.Builder style(CircularProgressDrawable.Style style)

sweepInterpolator

public CircularProgressDrawable.Builder sweepInterpolator(android.view.animation.Interpolator interpolator)

angleInterpolator

public CircularProgressDrawable.Builder angleInterpolator(android.view.animation.Interpolator interpolator)

build

public CircularProgressDrawable build()