Package com.prineside.tdi2.shapes
Class PieChart
java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.PieChart
- All Implemented Interfaces:
Pool.Poolable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.prineside.tdi2.Shape
Shape.Factory<T extends Shape>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
free()
float
getX()
float
getY()
void
void
reset()
Resets the object for reuse.void
setFadeToOut
(boolean fade) void
setShadowSegments
(int cnt) void
setup
(float x, float y, float radius, int prefferedSegmentCount, Array<PieChart.ChartEntryConfig> configs)
-
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, Array<PieChart.ChartEntryConfig> configs) -
draw
-
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()
-