public abstract class PaintDrawable
extends android.graphics.drawable.Drawable
| 限定符和类型 | 字段和说明 |
|---|---|
protected android.graphics.Paint |
mPaint |
| 限定符 | 构造器和说明 |
|---|---|
protected |
PaintDrawable() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOpacity() |
void |
setAlpha(int alpha) |
void |
setColor(int color) |
void |
setColorFilter(android.graphics.ColorFilter cf) |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, draw, 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, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfpublic void setColor(int color)
public void setAlpha(int alpha)
setAlpha 在类中 android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter cf)
setColorFilter 在类中 android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity 在类中 android.graphics.drawable.Drawable