| java.lang.Object | ||
| ↳ | java.lang.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.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Paint.Cap | BUTT | The stroke ends with the path, and does not project beyond it. | |||||||||
| Paint.Cap | ROUND | The stroke projects out as a semicircle, with the center at the end of the path. | |||||||||
| Paint.Cap | SQUARE | The stroke projects out as a square, with the center at the end of the path. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
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.