|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfig.utils.MakePieChart
Field Summary | |
(package private) static double |
_2PI
|
(package private) ModularEditor |
editor
|
Constructor Summary | |
MakePieChart()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
|
FigCompound |
makePieChart(double[] ratios)
|
FigObject |
makePieSlice(java.awt.Point center,
double radius,
double ratio,
double angle,
java.awt.Color color)
construct a slice of an pie chart with the following parameters: radius - the pie radius in jfig units (2400dpi) ratio - the size of this slice, as a fraction of the total 0 .. 1.0 angle - the start angle of this slice Note that you can always set the color, attributes, angle etc. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final double _2PI
ModularEditor editor
Constructor Detail |
public MakePieChart()
Method Detail |
public FigObject makePieSlice(java.awt.Point center, double radius, double ratio, double angle, java.awt.Color color)
public FigCompound makePieChart(double[] ratios)
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |