Shape.
| Modifier and Type | Field and Description |
|---|---|
| public static final StrokeLineCap | BUTT
Ends unclosed subpaths and dash segments with no added decoration. |
| public static final StrokeLineCap | ROUND
Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen. |
| public static final StrokeLineCap | SQUARE
Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StrokeLineCap | |
| public static StrokeLineCap[] |
| BUTT | back to summary |
|---|---|
| public static final StrokeLineCap BUTT Ends unclosed subpaths and dash segments with no added decoration. | |
| ROUND | back to summary |
|---|---|
| public static final StrokeLineCap ROUND Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen. | |
| SQUARE | back to summary |
|---|---|
| public static final StrokeLineCap SQUARE Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width. | |
| StrokeLineCap | back to summary |
|---|---|
| private StrokeLineCap() | |
| valueOf | back to summary |
|---|---|
| public static StrokeLineCap valueOf(String name) | |
| values | back to summary |
|---|---|
| public static StrokeLineCap[] values() | |