Back to project page HzGrapher.
The source code is released under:
Apache License
If you think the Android project HzGrapher listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.handstudio.android.hzgrapherlib.vo.circlegraph; // w w w. j a v a2 s. c om import android.graphics.Color; public class CircleGraph { private String name = null; private int color = Color.BLUE; private float angleArr ; private float angleDegree ; private int bitmapResource = -1; public CircleGraph(String name, int color, float angleArr) { this.name = name; this.color = color; this.setAngleArr(angleArr); } public CircleGraph(String name, int color, float angleArr, int bitmapResource) { this.name = name; this.color = color; this.setAngleArr(angleArr); this.bitmapResource = bitmapResource; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getColor() { return color; } public void setColor(int color) { this.color = color; } public float getAngleArr() { return angleArr; } public void setAngleArr(float angleArr) { this.angleArr = angleArr; } public int getBitmapResource() { return bitmapResource; } public void setBitmapResource(int bitmapResource) { this.bitmapResource = bitmapResource; } public float getAngleDegree() { return angleDegree; } public void setAngleDegree(float angleDegree) { this.angleDegree = angleDegree; } }