CornerRadius
Corner radius configuration.
Parameters
radius
Radius for all corners.
Corner radius configuration.
Parameters
radius
Radius for all corners, in the pair values, first is for x-axis and second is for y-axis.
fun CornerRadius( topLeft: Float, topRight: Float, bottomRight: Float, bottomLeft: Float)
Content copied to clipboard
Corner radius configuration.
Parameters
topLeft
Top left radius.
topRight
Top right radius.
bottomRight
Bottom right radius.
bottomLeft
Bottom left radius.
fun CornerRadius( topLeftX: Float, topLeftY: Float, topRightX: Float, topRightY: Float, bottomRightX: Float, bottomRightY: Float, bottomLeftX: Float, bottomLeftY: Float)
Content copied to clipboard
Parameters
topLeftX
Top left radius for x-axis.
topLeftY
Top left radius for y-axis.
topRightX
Top right radius for x-axis.
topRightY
Top right radius for y-axis.
bottomRightX
Bottom right radius for x-axis.
bottomRightY
Bottom right radius for y-axis.
bottomLeftX
Bottom left radius for x-axis.
bottomLeftY
Bottom left radius for y-axis.