Class

StrokeJoin

Styles to use for line joins.

Source set: 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

Source set: Common
val Miter = StrokeJoin(0)

Joins between line segments form sharp corners.

Source set: Common
val Round = StrokeJoin(1)

Joins between line segments are semi-circular.

Source set: 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.

Last updated: