public class LoadDrawable
extends android.graphics.drawable.Drawable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LoadDrawable.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
int |
getOpacity() |
protected void |
onSizeChanged(android.graphics.Rect bounds) |
void |
setAlpha(int alpha) |
void |
setBounds(int left,
int top,
int right,
int bottom) |
void |
setColorFilter(android.graphics.ColorFilter colorFilter) |
LoadDrawable |
setEndColor(int endColor) |
LoadDrawable |
setStartColor(int startColor) |
LoadDrawable |
setStrokeAngle(float strokeAngle) |
LoadDrawable |
setStrokeHatHeight(int strokeHatHeight) |
LoadDrawable |
setStrokeHeight(float strokeHeight) |
LoadDrawable |
setStrokeNum(int strokeNum) |
applyTheme, 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(android.graphics.Rect bounds)
public void setAlpha(int alpha)
setAlpha 在类中 android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter colorFilter)
setColorFilter 在类中 android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity 在类中 android.graphics.drawable.Drawablepublic void setBounds(int left,
int top,
int right,
int bottom)
setBounds 在类中 android.graphics.drawable.Drawablepublic 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)