FlexDonutSegment Class Reference

Inherits from NSObject
Conforms to IXuniHitArea
Declared in FlexPieCore.h

Overview

Segment of Donut.

  tag

Gets or sets the tag of pie segment.

@property NSObject *tag

Discussion

Gets or sets the tag of pie segment.

Declared In

FlexPieCore.h

  startAngle

Gets or sets the startAngle of pie segment.

@property double startAngle

Discussion

Gets or sets the startAngle of pie segment.

Declared In

FlexPieCore.h

  sweep

Gets or sets the sweep of pie segment.

@property double sweep

Discussion

Gets or sets the sweep of pie segment.

Declared In

FlexPieCore.h

– init

Initialize an instance for FlexDonutSegment.

- (id)init

Return Value

return an instance of FlexDonutSegment.

Discussion

Initialize an instance for FlexDonutSegment.

Declared In

FlexPieCore.h

– render:cx:cy:radius:innerRadius:startAngle:sweepAngle:selected:

Render the donut segment of pie.

- (void)render:(XuniRenderEngine *)engine cx:(double)cx cy:(double)cy radius:(double)radius innerRadius:(double)innerRadius startAngle:(double)startAngle sweepAngle:(double)sweepAngle selected:(BOOL)selected

Parameters

engine

the render engine.

cx

the x value of the center point of pie.

cy

the y value of the center point of pie.

radius

the radius of pie.

innerRadius

the inner radius of pie.

startAngle

the start angle of the segment.

sweepAngle

the sweep angle of the segment.

selected

whether is selected.

Discussion

Render the donut segment of pie.

Declared In

FlexPieCore.h