android.graphics.drawable
Class PaintDrawable
java.lang.Object
android.graphics.drawable.Drawable
android.graphics.drawable.ShapeDrawable
android.graphics.drawable.PaintDrawable
public class PaintDrawable
- extends ShapeDrawable
Methods inherited from class android.graphics.drawable.ShapeDrawable |
draw, getChangingConfigurations, getConstantState, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getPadding, getPaint, getShaderFactory, getShape, inflate, mutate, onBoundsChange, onDraw, setAlpha, setColorFilter, setDither, setIntrinsicHeight, setIntrinsicWidth, setPadding, setPadding, setShaderFactory, setShape |
Methods inherited from class android.graphics.drawable.Drawable |
clearColorFilter, 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, unscheduleSelf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaintDrawable
public PaintDrawable()
PaintDrawable
public PaintDrawable(int color)
setCornerRadius
public void setCornerRadius(float radius)
setCornerRadii
public void setCornerRadii(float[] radii)
inflateTag
protected boolean inflateTag(String name,
Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs)
- Overrides:
inflateTag
in class ShapeDrawable
Copyright © 2008-2012. All Rights Reserved.