public class SelectedDrawable extends Drawable
Drawable.Callback, Drawable.ConstantState| 限定符和类型 | 字段和说明 |
|---|---|
protected Paint |
mPaint |
protected Path |
mPath |
protected RectF |
mPathRectF |
protected com.parkingwang.keyboard.view.SelectedDrawable.Position |
mPosition |
protected float |
mRadius |
protected Rect |
mRect |
| 构造器和说明 |
|---|
SelectedDrawable() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(Canvas canvas) |
int |
getOpacity() |
Rect |
getRect() |
void |
setAlpha(int alpha) |
void |
setColor(int color) |
void |
setColorFilter(ColorFilter colorFilter) |
void |
setPosition(com.parkingwang.keyboard.view.SelectedDrawable.Position position) |
void |
setRadius(float radius) |
void |
setWidth(float width) |
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, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfprotected float mRadius
protected Rect mRect
protected com.parkingwang.keyboard.view.SelectedDrawable.Position mPosition
protected final Paint mPaint
protected final Path mPath
protected final RectF mPathRectF
public void setRadius(float radius)
public void setWidth(float width)
public Rect getRect()
public void setPosition(@NonNull com.parkingwang.keyboard.view.SelectedDrawable.Position position)
public void setColor(int color)
public void setColorFilter(@Nullable ColorFilter colorFilter)
setColorFilter 在类中 Drawablepublic int getOpacity()
getOpacity 在类中 Drawable