CorneredShape
Functions
Link copied to clipboard
open fun createPath(density: Float, path: Path, left: Float, top: Float, right: Float, bottom: Float)
Adds a contour of this CorneredShape to the provided Path.
Link copied to clipboard
Returns a scale factor for the corner size, which will prevent graphical glitches in case the size of the corners is larger than the shape’s dimensions.