private class JFPiePlot.MorpheusPieSection extends Object implements PieSection
| Constructor and Description |
|---|
MorpheusPieSection(X itemKey)
Constructor
|
| 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 X extends Comparable itemKey
private Color color
MorpheusPieSection(X itemKey)
itemKey - the key for this sectionpublic 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