StrokeCap
Kotlin
|Java
enum class StrokeCap
kotlin.Any | ||
↳ | kotlin.Enum<androidx.compose.ui.graphics.StrokeCap> | |
↳ | androidx.compose.ui.graphics.StrokeCap |
Styles to use for line endings. See Paint.strokeCap.
Summary
Enum values | |
---|---|
Begin and end contours with a flat edge and no extension. |
|
Begin and end contours with a semi-circle extension. |
|
Begin and end contours with a half square extension. |
Inherited extension functions | ||
---|---|---|
From androidx.core.util
|
Enum values
Square
enum val Square : StrokeCap
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).