createCorner

open override fun createCorner(x1: Float, y1: Float, x2: Float, y2: Float, cornerLocation: CornerLocation, path: Path)

Draws a shape corner of the appropriate style.

Parameters

x1

the horizontal coordinate of the starting point.

y1

the vertical coordinate of the starting point.

x2

the horizontal coordinate of the end point.

y2

the vertical coordinate of the end point.

cornerLocation

the location of the corner.