android.graphics
public
static
final
enum
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
Paint.Cap |
BUTT |
The stroke ends with the path, and does not project beyond it. |
Paint.Cap |
ROUND |
The stroke projects out as a square, with the center at the end
of the path. |
Paint.Cap |
SQUARE |
The stroke projects out as a semicircle, with the center at the
end of the path. |
Public Methods
Methods inherited
from class
java.lang.Enum
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Enum Values
public
static
final
Paint.Cap
BUTT
The stroke ends with the path, and does not project beyond it.
public
static
final
Paint.Cap
ROUND
The stroke projects out as a square, with the center at the end
of the path.
public
static
final
Paint.Cap
SQUARE
The stroke projects out as a semicircle, with the center at the
end of the path.
Public Methods
public
static
final
Cap[]
values()