Class PieChart

java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.PieChart
All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable

public class PieChart extends Shape
  • Field Details

    • innerRadius

      public float innerRadius
    • angleShiftRad

      public float angleShiftRad
    • rotationDirection

      public float rotationDirection
  • Method Details

    • requestVerticesRebuild

      public void requestVerticesRebuild()
    • setShadowSegments

      public void setShadowSegments(int cnt)
    • setFadeToOut

      public void setFadeToOut(boolean fade)
    • getX

      public float getX()
    • getY

      public float getY()
    • setup

      public void setup(float x, float y, float radius, int prefferedSegmentCount, com.badlogic.gdx.utils.Array<PieChart.ChartEntryConfig> configs)
    • draw

      public void draw(com.badlogic.gdx.graphics.g2d.Batch batch)
      Specified by:
      draw in class Shape
    • reset

      public void reset()
      Description copied from interface: com.badlogic.gdx.utils.Pool.Poolable
      Resets the object for reuse. Object references should be nulled and fields may be set to default values.
    • free

      public void free()