API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.graphics.drawable.ShapeDrawable

Removed Methods
int getColor()  
PathEffect getPathEffect()  
Shader getShader()  
void setColor(int)  
void setPathEffect(PathEffect)  
void setShader(Shader)  
 

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.  
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff