RoundedBitmapDrawable
A Drawable that wraps a bitmap and can be drawn with rounded corners. You can create a RoundedBitmapDrawable from a file path, an input stream, or from a android.graphics.Bitmap object.
Also see the android.graphics.Bitmap class, which handles the management and transformation of raw bitmap graphics, and should be used when drawing to a android.graphics.Canvas.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the gravity used to position/stretch the bitmap within its bounds.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Indicates whether anti-aliasing is enabled for this drawable.
Link copied to clipboard
Link copied to clipboard
Enables or disables anti-aliasing for this drawable.
Link copied to clipboard
Sets the image shape to circular.
Link copied to clipboard
Link copied to clipboard
Sets the corner radius to be applied when drawing the bitmap.
Link copied to clipboard
Link copied to clipboard
Set the gravity used to position/stretch the bitmap within its bounds.
Link copied to clipboard
Set the density scale at which this drawable will be rendered.
Set the density at which this drawable will be rendered.