| java.lang.Object | ||
| ↳ | java.lang.Enum <E extends java.lang.Enum <E>> | |
| ↳ | android.graphics.Paint.Style | |
The Style specifies if the primitive being drawn is filled, stroked, or both (in the same color). The default is FILL.
| Enum Values | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Paint.Style | FILL | Geometry and text drawn with this style will be filled, ignoring all stroke-related settings in the paint. | |||||||||||||||||||||||||||||||
| Paint.Style | FILL_AND_STROKE | Geometry and text drawn with this style will be both filled and stroked at the same time, respecting the stroke-related fields on the paint. | |||||||||||||||||||||||||||||||
| Paint.Style | STROKE | Geometry and text drawn with this style will be stroked, respecting the stroke-related fields on the paint. | |||||||||||||||||||||||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
|
|
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
|
|||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
|||||||||||||||||||||||||||||||||
From interface
java.lang.Comparable
|
|||||||||||||||||||||||||||||||||
Geometry and text drawn with this style will be filled, ignoring all stroke-related settings in the paint.
Geometry and text drawn with this style will be both filled and stroked at the same time, respecting the stroke-related fields on the paint. This mode can give unexpected results if the geometry is oriented counter-clockwise. This restriction does not apply to either FILL or STROKE.
Geometry and text drawn with this style will be stroked, respecting the stroke-related fields on the paint.