createPath

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.

Parameters

density

the screen density.

path

the Path to use.

left

the left edge of the CorneredShape.

top

the top edge of the CorneredShape.

right

the right edge of the CorneredShape.

bottom

the bottom edge of the CorneredShape.