public DrawableHolder(android.graphics.drawable.BitmapDrawable drawable, float x, float y) { mDrawable = drawable; mX = x; mY = y; mDrawable.getPaint().setAntiAlias(true); // Force AA mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight ()); }
public DrawableHolder(android.graphics.drawable.BitmapDrawable drawable, float x, float y) { mDrawable = drawable; mX = x; mY = y; mDrawable.getPaint().setAntiAlias(true); // Force AA mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight ()); }
public virtual int getHeight() { return(mDrawable.getIntrinsicHeight()); }