Corner Radius
Parameters
top Left X
Top left radius for x-axis.
top Left Y
Top left radius for y-axis.
top Right X
Top right radius for x-axis.
top Right Y
Top right radius for y-axis.
bottom Right X
Bottom right radius for x-axis.
bottom Right Y
Bottom right radius for y-axis.
bottom Left X
Bottom left radius for x-axis.
bottom Left Y
Bottom left radius for y-axis.
Constructors
Link copied to clipboard
Corner radius configuration.
Link copied to clipboard
Corner radius configuration.
Link copied to clipboard
fun CornerRadius( topLeft: Float, topRight: Float, bottomRight: Float, bottomLeft: Float)
Content copied to clipboard
Corner radius configuration.
Link copied to clipboard
Functions
Link copied to clipboard
Interprets that the current values are expressed in density-independent pixels (dp) and converts them to pixels (px) according to the device screen density.
Link copied to clipboard
Converts the corner radius values to radii (array of 8 values, 4 pairs of (X,Y))