public class CircularProgressDrawable
extends android.graphics.drawable.Drawable
implements android.graphics.drawable.Animatable
构造器和说明 |
---|
CircularProgressDrawable(int color,
float borderWidth) |
限定符和类型 | 方法和说明 |
---|---|
void |
draw(android.graphics.Canvas canvas) |
float |
getCurrentGlobalAngle() |
float |
getCurrentSweepAngle() |
int |
getOpacity() |
boolean |
isRunning() |
protected void |
onBoundsChange(android.graphics.Rect bounds) |
void |
setAlpha(int alpha) |
void |
setColorFilter(android.graphics.ColorFilter cf) |
void |
setCurrentGlobalAngle(float currentGlobalAngle) |
void |
setCurrentSweepAngle(float currentSweepAngle) |
void |
start() |
void |
stop() |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getIntrinsicHeight, getIntrinsicWidth, getLevel, getMinimumHeight, getMinimumWidth, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isStateful, isVisible, jumpToCurrentState, mutate, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelf
public void draw(android.graphics.Canvas canvas)
draw
在类中 android.graphics.drawable.Drawable
public void setAlpha(int alpha)
setAlpha
在类中 android.graphics.drawable.Drawable
public void setColorFilter(android.graphics.ColorFilter cf)
setColorFilter
在类中 android.graphics.drawable.Drawable
public int getOpacity()
getOpacity
在类中 android.graphics.drawable.Drawable
protected void onBoundsChange(android.graphics.Rect bounds)
onBoundsChange
在类中 android.graphics.drawable.Drawable
public void start()
start
在接口中 android.graphics.drawable.Animatable
public void stop()
stop
在接口中 android.graphics.drawable.Animatable
public boolean isRunning()
isRunning
在接口中 android.graphics.drawable.Animatable
public void setCurrentGlobalAngle(float currentGlobalAngle)
public float getCurrentGlobalAngle()
public void setCurrentSweepAngle(float currentSweepAngle)
public float getCurrentSweepAngle()