StrokeCap
Class
Common
value class StrokeCap internal constructor(@Suppress("unused") private val value: Int)
Styles to use for line endings. See Paint.strokeCap
.
Companion Object
Properties
Common
val Butt = StrokeCap(0)
Begin and end contours with a flat edge and no extension.
Common
val Round = StrokeCap(1)
Begin and end contours with a semi-circle extension.
Common
val Square = StrokeCap(2)
Begin and end contours with a half square extension. This is similar to extending each
contour by half the stroke width (as given by Paint.strokeWidth
).