FlexPieControl Class Reference

Inherits from UIView
Declared in FlexPieCore.h

Overview

PieControl.

  semaphore

Internal.

@property dispatch_semaphore_t semaphore

Discussion

Internal.

Declared In

FlexPieCore.h

  rectPie

Gets or sets the rect of pie control.

@property (nonatomic) XuniRect *rectPie

Discussion

Gets or sets the rect of pie control.

Declared In

FlexPieCore.h

  engine

Gets or sets the render engine of pie.

@property (nonatomic) XuniRenderEngine *engine

Discussion

Gets or sets the render engine of pie.

Declared In

FlexPieCore.h

  angles

Gets or sets the angles.

@property (nonatomic) NSMutableArray *angles

Discussion

Gets or sets the angles.

Declared In

FlexPieCore.h

  areas

Gets or sets the areas of pie control.

@property (nonatomic) NSMutableArray *areas

Discussion

Gets or sets the areas of pie control.

Declared In

FlexPieCore.h

  sliceCenterPoints

Gets or sets the center points of the slices.

@property (nonatomic) NSMutableArray *sliceCenterPoints

Discussion

Gets or sets the center points of the slices.

Declared In

FlexPieCore.h

  values

Gets or sets the values of segments of pie.

@property (nonatomic) NSMutableArray *values

Discussion

Gets or sets the values of segments of pie.

Declared In

FlexPieCore.h

  preValues

Gets or sets the previous values of segments of pie.

@property (nonatomic) NSMutableArray *preValues

Discussion

Gets or sets the previous values of segments of pie.

Declared In

FlexPieCore.h

  sum

Gets or sets the total value of segments.

@property (nonatomic) double sum

Discussion

Gets or sets the total value of segments.

Declared In

FlexPieCore.h

  startAngle

Gets or sets the startAngle.

@property (nonatomic) double startAngle

Discussion

Gets or sets the startAngle.

Declared In

FlexPieCore.h

  reversed

Gets or sets whether the pie control is reversed.

@property (nonatomic) BOOL reversed

Discussion

Gets or sets whether the pie control is reversed.

Declared In

FlexPieCore.h

  innerRadius

Gets or sets the inner radius of the pie.

@property (nonatomic) double innerRadius

Discussion

Gets or sets the inner radius of the pie.

Declared In

FlexPieCore.h

  radius

Gets or sets the radius of the pie.

@property (nonatomic) double radius

Discussion

Gets or sets the radius of the pie.

Declared In

FlexPieCore.h

  innerR

Gets or sets the real inner radius of the pie.

@property (nonatomic) double innerR

Discussion

Gets or sets the real inner radius of the pie.

Declared In

FlexPieCore.h

  offset

Gets or sets the offset of each segment of pie.

@property (nonatomic) double offset

Discussion

Gets or sets the offset of each segment of pie.

Declared In

FlexPieCore.h

  selectedItemOffset

Gets or sets the offset of the selected item.

@property (nonatomic) double selectedItemOffset

Discussion

Gets or sets the offset of the selected item.

Declared In

FlexPieCore.h

  selectedIndex

Gets or sets the selected index of the item.

@property (nonatomic) NSInteger selectedIndex

Discussion

Gets or sets the selected index of the item.

Declared In

FlexPieCore.h

  sliceBorderWidth

Gets or sets the slice border width.

@property (nonatomic) double sliceBorderWidth

Discussion

Gets or sets the slice border width.

Declared In

FlexPieCore.h

  rotationAngle

Gets or sets the rotation angle of the pie control.

@property (nonatomic) double rotationAngle

Discussion

Gets or sets the rotation angle of the pie control.

Declared In

FlexPieCore.h

  isAnimated

Gets or sets whether the pie control is animated.

@property (nonatomic) BOOL isAnimated

Discussion

Gets or sets whether the pie control is animated.

Declared In

FlexPieCore.h

  loadAnimation

Gets or sets the load animation of the pie control.

@property (nonatomic) XuniChartLoadAnimation *loadAnimation

Discussion

Gets or sets the load animation of the pie control.

Declared In

FlexPieCore.h

  firstLoad

Gets or sets whether the pie is loaded the first time.

@property (nonatomic) BOOL firstLoad

Discussion

Gets or sets whether the pie is loaded the first time.

Declared In

FlexPieCore.h

  isUpdateAnimated

Gets or sets whether the pie control is update animated.

@property (nonatomic) BOOL isUpdateAnimated

Discussion

Gets or sets whether the pie control is update animated.

Declared In

FlexPieCore.h

  updateAnimation

Gets or sets the update animation of the pie control.

@property (nonatomic) XuniAnimation *updateAnimation

Discussion

Gets or sets the update animation of the pie control.

Declared In

FlexPieCore.h

  addedValueArr

Gets or sets the value added to the sourceCollection.

@property (nonatomic) NSMutableArray *addedValueArr

Discussion

Gets or sets the value added to the sourceCollection.

Declared In

FlexPieCore.h

  removedValueArr

Gets or sets the value removed from the sourceCollection.

@property (nonatomic) NSMutableArray *removedValueArr

Discussion

Gets or sets the value removed from the sourceCollection.

Declared In

FlexPieCore.h

  changedValueArr

Gets or sets the value changed in the sourceCollection.

@property (nonatomic) NSMutableArray *changedValueArr

Discussion

Gets or sets the value changed in the sourceCollection.

Declared In

FlexPieCore.h

  addedValueInd

Gets or sets the value added to the sourceCollection.

@property (nonatomic) NSMutableArray *addedValueInd

Discussion

Gets or sets the value added to the sourceCollection.

Declared In

FlexPieCore.h

  removedValueInd

Gets or sets the value removed from the sourceCollection.

@property (nonatomic) NSMutableArray *removedValueInd

Discussion

Gets or sets the value removed from the sourceCollection.

Declared In

FlexPieCore.h

  changedValueInd

Gets or sets the value changed in the sourceCollection.

@property (nonatomic) NSMutableArray *changedValueInd

Discussion

Gets or sets the value changed in the sourceCollection.

Declared In

FlexPieCore.h

  args

Gets or sets the arguments when the collectionView is changed.

@property (nonatomic) XuniNotifyCollectionChangedEventArgs *args

Discussion

Gets or sets the arguments when the collectionView is changed.

Declared In

FlexPieCore.h

– initWithPie:frame:

Get a pie control instance.

- (id)initWithPie:(FlexPie *)pie frame:(CGRect)frame

Parameters

pie

the pie about the control.

frame

the frame about the control.

Return Value

a pie control instance.

Discussion

Get a pie control instance.

Declared In

FlexPieCore.h

– initInternals

Init internal arguments.

- (void)initInternals

Discussion

Init internal arguments.

Declared In

FlexPieCore.h

– renderSlice:startAngle:i:reversed:innerRadius:offset:offsets:angle:cx0:cy0:r:maxoff:irad:sum:renderSelected:

Render slice with parameters.

- (void)renderSlice:(XuniRenderEngine *)engine startAngle:(double)startAngle i:(NSInteger)i reversed:(BOOL)reversed innerRadius:(double)innerRadius offset:(double)offset offsets:(NSMutableArray *)offsets angle:(double)angle cx0:(double)cx0 cy0:(double)cy0 r:(double)r maxoff:(double)maxoff irad:(double)irad sum:(double)sum renderSelected:(bool)renderSelected

Parameters

engine

the render engine.

startAngle

the start angle.

i

the index of the slice.

reversed

whether is reversed.

innerRadius

the inner radius of the pie control.

offset

the offset of the slice.

offsets

the offsets of the slices.

angle

the angle of slice after sweeped.

cx0

the x value of the center point of the pie control.

cy0

the y value of the center point of the pie control.

r

the radius of the pie control.

maxoff

the max offset value.

irad

the inner radius of the pie control.

sum

the total value of the pie control.

renderSelected

whether the border of the selected slice is rendered.

Discussion

Render slice with parameters.

Declared In

FlexPieCore.h

– render:

Render the pie control.

- (void)render:(XuniRenderEngine *)engine

Parameters

engine

the render engine.

Discussion

Render the pie control.

Declared In

FlexPieCore.h

– invalidate

Refresh the control if needed.

- (void)invalidate

Discussion

Refresh the control if needed.

Declared In

FlexPieCore.h