Class android.graphics.drawable.PaintDrawable
The superclass changed from android.graphics.drawable.Drawable
to android.graphics.drawable.ShapeDrawable
.
Removed Constructors
|
android.graphics.drawable(Paint )
|
|
Removed Methods
|
void setColor(int )
|
Helper to edit/create the paint's color
|
void setColorFilter(ColorFilter )
|
|
void setPaint(Paint )
|
|
Added Methods
|
boolean inflateTag(String, Resources, XmlPullParser, AttributeSet)
|
|
Changed Methods
|
void draw(Canvas )
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
|
int getIntrinsicHeight()
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
|
int getIntrinsicWidth()
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
|
int getOpacity()
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
|
boolean getPadding(Rect )
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
|
Paint getPaint()
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
Returns the Paint used to draw the shape. |
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 locally defined, but is now inherited from ShapeDrawable.
|
|
void setAlpha(int )
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
Set the alpha level for this drawable [0..255]. |
void setDither(boolean )
|
Method was locally defined, but is now inherited from ShapeDrawable.
|
|