RoundedBitmapDrawable21public class RoundedBitmapDrawable21 extends RoundedBitmapDrawable
Methods Summary |
---|
public void | getOutline(android.graphics.Outline outline)
updateDstRect();
outline.setRoundRect(mDstRect, getCornerRadius());
| void | gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, android.graphics.Rect bounds, android.graphics.Rect outRect)
Gravity.apply(gravity, bitmapWidth, bitmapHeight,
bounds, outRect, View.LAYOUT_DIRECTION_LTR);
| public boolean | hasMipMap()
return mBitmap != null && mBitmap.hasMipMap();
| public void | setMipMap(boolean mipMap)
if (mBitmap != null) {
mBitmap.setHasMipMap(mipMap);
invalidateSelf();
}
|
|