Added Methods
|
int getChangingConfigurations()
|
|
Paint getPaint()
|
Returns the Paint used to draw the shape. |
ShaderFactory getShaderFactory()
|
Returns the ShaderFactory used by this ShapeDrawable for requesting a
android.graphics.Shader. |
boolean inflateTag(String, Resources, XmlPullParser, AttributeSet)
|
Subclasses override this to parse custom subelements. |
void onDraw(Shape, Canvas, Paint)
|
Called from the drawable's draw() method after the canvas has been set
to draw the shape at (0,0). |
void setIntrinsicHeight(int )
|
Sets the intrinsic (default) height for this shape. |
void setIntrinsicWidth(int )
|
Sets the intrinsic (default) width for this shape. |
void setPadding(Rect )
|
Sets padding for this shape, defined by a Rect object. |
void setPadding(int, int, int, int)
|
Sets padding for the shape. |
void setShaderFactory(ShaderFactory )
|
Sets a ShaderFactory to which requests for a
android.graphics.Shader object will be made. |
Changed Methods
|
int getIntrinsicHeight()
|
Method was inherited from android.graphics.drawable.Drawable, but is now defined locally.
|
|
int getIntrinsicWidth()
|
Method was inherited from android.graphics.drawable.Drawable, but is now defined locally.
|
|
boolean getPadding(Rect )
|
Method was inherited from android.graphics.drawable.Drawable, but is now defined locally.
|
|
void inflate(Resources, XmlPullParser, AttributeSet)
|
Change in signature from (android.content.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet ) to (android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet ).
Method was inherited from android.graphics.drawable.Drawable, but is now defined locally.
|
|
void setDither(boolean )
|
Method was inherited from android.graphics.drawable.Drawable, but is now defined locally.
|
|