Class PieChartActor

All Implemented Interfaces:
Disposable, Layout
Direct Known Subclasses:
ButtonHoldHint

public class PieChartActor extends Widget implements Disposable
  • Field Details

  • Constructor Details

    • PieChartActor

      public PieChartActor()
  • Method Details

    • setConfigs

      public void setConfigs(Array<PieChart.ChartEntryConfig> configs)
    • getConfigs

      public Array<PieChart.ChartEntryConfig> getConfigs()
    • setSegmentCount

      public void setSegmentCount(int count)
    • draw

      public void draw(Batch batch, float parentAlpha)
      Description copied from class: Widget
      If this method is overridden, the super method or Widget.validate() should be called to ensure the widget is laid out.
      Overrides:
      draw in class Widget
      parentAlpha - The parent alpha, to be multiplied with this actor's alpha, allowing the parent's alpha to affect all children.
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.utils.Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface Disposable