Cap
class Cap
kotlin.Any | ||
↳ | kotlin.Enum<android.graphics.Paint.Cap> | |
↳ | android.graphics.Paint.Cap |
The Cap specifies the treatment for the beginning and ending of stroked lines and paths. The default is BUTT.
Summary
Enum values | |
---|---|
The stroke ends with the path, and does not project beyond it. |
|
The stroke projects out as a semicircle, with the center at the end of the path. |
|
The stroke projects out as a square, with the center at the end of the path. |
Enum values
BUTT
enum val BUTT : Paint.Cap
The stroke ends with the path, and does not project beyond it.
ROUND
enum val ROUND : Paint.Cap
The stroke projects out as a semicircle, with the center at the end of the path.
SQUARE
enum val SQUARE : Paint.Cap
The stroke projects out as a square, with the center at the end of the path.