FlexPieSegment Class Reference

Inherits from NSObject
Conforms to IXuniHitArea
Declared in FlexPieCore.h

Overview

Segment of pie.

  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 FlexPieSegment.

- (id)init

Return Value

return an instance of FlexPieSegment.

Discussion

Initialize an instance for FlexPieSegment.

Declared In

FlexPieCore.h

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

Render the segment of pie.

- (void)render:(XuniRenderEngine *)engine cx:(double)cx cy:(double)cy radius:(double)radius 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.

startAngle

the start angle of the segment.

sweepAngle

the sweep angle of the segment.

selected

whether is selected.

Discussion

Render the segment of pie.

Declared In

FlexPieCore.h