Class RingChart

All Implemented Interfaces:
Drawable, Fillable, Strokeable

public class RingChart extends Circle
  • Field Details

  • Constructor Details

    • RingChart

      public RingChart(double x, double y, double radius)
    • RingChart

      public RingChart(double x, double y, double radius, int initalSize)
  • Method Details

    • setValue

      public void setValue(int pRing, RingChart.RingChartValue pValue)
    • setValue

      public void setValue(int pRing, double pValue, double pMax)
    • setValue

      public void setValue(int pRing, double pValue, double pMax, String pLabel)
    • setValue

      public void setValue(int pRing, double pValue, double pMax, String pLabel, Color pColor)
    • setColors

      public void setColors(Color... pColors)
    • setColor

      public void setColor(int i, Color pColor)
    • draw

      public void draw(Graphics2D graphics, AffineTransform transform)
      Description copied from class: Shape
      Zeichnet die Form, aber wendet zuvor noch eine zusätzliche Transformations- matrix an. Wird u.A. von der ShapeGroup verwendet.
      Overrides:
      draw in class Shape