public class LoadDrawable extends SizeDrawable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LoadDrawable.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
protected void |
onSizeChanged(int oldWidth,
int oldHeight,
int newWidth,
int newHeight) |
LoadDrawable |
setEndColor(int endColor) |
LoadDrawable |
setStartColor(int startColor) |
LoadDrawable |
setStrokeAngle(float strokeAngle) |
LoadDrawable |
setStrokeHatHeight(int strokeHatHeight) |
LoadDrawable |
setStrokeHeight(float strokeHeight) |
LoadDrawable |
setStrokeNum(int strokeNum) |
getOpacity, setAlpha, setBounds, setColorFilterapplyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getHotspotBounds, getIntrinsicHeight, getIntrinsicWidth, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isFilterBitmap, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLayoutDirectionChanged, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfpublic void draw(android.graphics.Canvas canvas)
draw 在类中 android.graphics.drawable.Drawableprotected void onSizeChanged(int oldWidth,
int oldHeight,
int newWidth,
int newHeight)
onSizeChanged 在类中 SizeDrawablepublic LoadDrawable setStrokeAngle(float strokeAngle)
public LoadDrawable setStrokeHeight(float strokeHeight)
public LoadDrawable setStrokeNum(int strokeNum)
public LoadDrawable setStrokeHatHeight(int strokeHatHeight)
public LoadDrawable setStartColor(int startColor)
public LoadDrawable setEndColor(int endColor)