Google is committed to advancing racial equity for Black communities. See how.

StrokeJoin

enum class StrokeJoin
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.graphics.StrokeJoin>
   ↳ androidx.compose.ui.graphics.StrokeJoin

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.

Summary

Enum values

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

Joins between line segments form sharp corners.

Joins between line segments are semi-circular.

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

Bevel

enum val Bevel : StrokeJoin

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

Miter

enum val Miter : StrokeJoin

Joins between line segments form sharp corners.

Round

enum val Round : StrokeJoin

Joins between line segments are semi-circular.