android.graphics.drawable
Class PaintDrawable

java.lang.Object
  extended by android.graphics.drawable.Drawable
      extended by android.graphics.drawable.ShapeDrawable
          extended by android.graphics.drawable.PaintDrawable

public class PaintDrawable
extends ShapeDrawable


Nested Class Summary
 
Nested classes/interfaces inherited from class android.graphics.drawable.ShapeDrawable
ShapeDrawable.ShaderFactory
 
Nested classes/interfaces inherited from class android.graphics.drawable.Drawable
Drawable.Callback, Drawable.ConstantState
 
Constructor Summary
PaintDrawable()
           
PaintDrawable(int color)
           
 
Method Summary
protected  boolean inflateTag(String name, Resources r, org.xmlpull.v1.XmlPullParser parser, AttributeSet attrs)
           
 void setCornerRadii(float[] radii)
           
 void setCornerRadius(float radius)
           
 
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
 

Constructor Detail

PaintDrawable

public PaintDrawable()

PaintDrawable

public PaintDrawable(int color)
Method Detail

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.