java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.facebook.drawee.generic.RoundingParams.RoundingMethod |
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RoundingParams.RoundingMethod | BITMAP_ONLY | Uses BitmapShader to draw the bitmap with rounded corners. | |||||||||
RoundingParams.RoundingMethod | OVERLAY_COLOR | Draws rounded corners on top of the underlying drawable by overlaying a solid color which
is specified by setOverlayColor . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static RoundingParams.RoundingMethod | valueOf(String name) | ||||||||||
final static RoundingMethod[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Uses BitmapShader to draw the bitmap with rounded corners. This is the default rounding
method. It doesn't support animations, and it does not support any scale types other than
CENTER_CROP
, FOCUS_CROP
and
FIT_XY
.
Draws rounded corners on top of the underlying drawable by overlaying a solid color which
is specified by setOverlayColor
. This option should only be used when the
background beneath the underlying drawable is static and of the same solid color.