public class PaintDrawable extends ShapeDrawable
ShapeDrawable.ShaderFactoryDrawable.Callback, Drawable.ConstantState| Constructor and Description |
|---|
PaintDrawable() |
PaintDrawable(int color) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
inflateTag(String name,
Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs) |
void |
setCornerRadii(float[] radii) |
void |
setCornerRadius(float radius) |
draw, getChangingConfigurations, getConstantState, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getPadding, getPaint, getShaderFactory, getShape, inflate, mutate, onBoundsChange, onDraw, setAlpha, setColorFilter, setDither, setIntrinsicHeight, setIntrinsicWidth, setPadding, setPadding, setShaderFactory, setShapeclearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getState, getTransparentRegion, invalidateSelf, isStateful, isVisible, jumpToCurrentState, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLevel, setState, setVisible, unscheduleSelfpublic PaintDrawable()
public PaintDrawable(int color)
public void setCornerRadius(float radius)
public void setCornerRadii(float[] radii)
protected boolean inflateTag(String name, Resources r, org.xmlpull.v1.XmlPullParser parser, AttributeSet attrs)
inflateTag in class ShapeDrawableCopyright © 2008-2013. All Rights Reserved.