Holds An PieChart Segment.
| com.ab.view.chart.PieSegment.PieSegment |
( |
int |
dataIndex, |
|
|
float |
value, |
|
|
float |
startAngle, |
|
|
float |
angle |
|
) |
| |
|
inline |
Instantiates a new pie segment.
- 参数
-
| dataIndex | the data index |
| value | the value |
| startAngle | the start angle |
| angle | the angle |
| int com.ab.view.chart.PieSegment.getDataIndex |
( |
| ) |
|
|
inlineprotected |
Gets the data index.
- 返回
- the data index
| float com.ab.view.chart.PieSegment.getEndAngle |
( |
| ) |
|
|
inlineprotected |
Gets the end angle.
- 返回
- the end angle
| float com.ab.view.chart.PieSegment.getStartAngle |
( |
| ) |
|
|
inlineprotected |
Gets the start angle.
- 返回
- the start angle
| float com.ab.view.chart.PieSegment.getValue |
( |
| ) |
|
|
inlineprotected |
Gets the value.
- 返回
- the value
| boolean com.ab.view.chart.PieSegment.isInSegment |
( |
double |
angle | ) |
|
|
inline |
Checks if angle falls in segment.
- 参数
-
- 返回
- true if in segment, false otherwise.
| String com.ab.view.chart.PieSegment.toString |
( |
| ) |
|
|
inline |
描述:TODO.
- 版本
- v1.0
- 返回
- the string
- 参见
- java.lang.Object::toString()
- 作者
- : amsoft.cn
- 日期
- :2013-6-17 上午9:04:50
| int com.ab.view.chart.PieSegment.mDataIndex |
|
private |
| float com.ab.view.chart.PieSegment.mEndAngle |
|
private |
| float com.ab.view.chart.PieSegment.mStartAngle |
|
private |
| float com.ab.view.chart.PieSegment.mValue |
|
private |
该类的文档由以下文件生成: