Package com.prineside.tdi2.shapes
Class PieChart
java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.PieChart
- All Implemented Interfaces:
 com.badlogic.gdx.utils.Pool.Poolable
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.prineside.tdi2.Shape
Shape.Factory<T extends Shape> - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(com.badlogic.gdx.graphics.g2d.Batch batch) voidfree()floatgetX()floatgetY()voidvoidreset()Resets the object for reuse.voidsetFadeToOut(boolean fade) voidsetShadowSegments(int cnt) voidsetup(float x, float y, float radius, int prefferedSegmentCount, com.badlogic.gdx.utils.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, com.badlogic.gdx.utils.Array<PieChart.ChartEntryConfig> configs)  - 
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch)  - 
reset
public void reset()Description copied from interface:com.badlogic.gdx.utils.Pool.PoolableResets the object for reuse. Object references should be nulled and fields may be set to default values. - 
free
public void free() 
 -