Rounded Corners Transformation
class RoundedCornersTransformation(@Px topLeft: Float, @Px topRight: Float, @Px bottomLeft: Float, @Px bottomRight: Float) : Transformation
Content copied to clipboard
A Transformation that crops the image to fit the target's dimensions and rounds the corners of the image.
Parameters
top Left
The radius for the top left corner.
top Right
The radius for the top right corner.
bottom Left
The radius for the bottom left corner.
bottom Right
The radius for the bottom right corner.
Constructors
RoundedCornersTransformation
Link copied to clipboard
RoundedCornersTransformation
Link copied to clipboard