StrokeJoin

Class

Common
value class StrokeJoin internal constructor(@Suppress("unused") private val value: Int)

Styles to use for line joins.

This only affects line joins for polygons drawn by Canvas.drawPath and rectangles, not points drawn as lines with Canvas.drawPoints. See Paint.strokeJoin.

Companion Object

Properties

Common
val Miter = StrokeJoin(0)

Joins between line segments form sharp corners.

Common
val Round = StrokeJoin(1)

Joins between line segments are semi-circular.

Common
val Bevel = StrokeJoin(2)

Joins between line segments connect the corners of the butt ends of the line segments to give a beveled appearance.