CornerTreatment

fun interface CornerTreatment

Defines a corner shape.

Types

Link copied to clipboard
object Companion

Houses CornerTreatment singletons.

Functions

Link copied to clipboard
abstract fun createCorner(path: Path, position: CorneredShape.CornerPosition, x1: Float, y1: Float, x2: Float, y2: Float)

Adds a corner segment connecting (x1, y1) and (x2, y2) to path.