FixedSizeDrawablepublic class FixedSizeDrawable extends android.graphics.drawable.Drawable
Fields Summary |
---|
android.graphics.drawable.Drawable | mDrawable | int | mLeft | int | mTop | int | mRight | int | mBottom |
Methods Summary |
---|
public void | draw(android.graphics.Canvas canvas)
mDrawable.draw(canvas);
| public int | getOpacity()
return mDrawable.getOpacity();
| public void | setAlpha(int alpha)
mDrawable.setAlpha(alpha);
| public void | setBounds(android.graphics.Rect bounds)
mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
| public void | setBounds(int l, int t, int r, int b)
mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
| public void | setColorFilter(android.graphics.ColorFilter cf)
mDrawable.setColorFilter(cf);
| public void | setFixedBounds(int l, int t, int r, int b)
mLeft = l;
mTop = t;
mRight = r;
mBottom = b;
|
|