private class GPiePlot.GPieSection extends Object implements PieSection
| Modifier and Type | Field and Description |
|---|---|
private Color |
color |
private double |
offset |
| Modifier | Constructor and Description |
|---|---|
private |
GPieSection() |
| Modifier and Type | Method and Description |
|---|---|
PieSection |
withColor(Color color)
Sets the color to render this section
|
PieSection |
withOffset(double offset)
Sets an offset degree for this section
|
private Color color
private double offset
public PieSection withColor(Color color)
PieSectionwithColor in interface PieSectioncolor - the color to render this sectionpublic PieSection withOffset(double offset)
PieSectionwithOffset in interface PieSectionoffset - the offset degreeCopyright 2014-2017, Xavier Witdouck