Plot symbols for CPScatterPlot. More...
Public Member Functions | |
Drawing | |
| (void) | - renderInContext:atPoint: |
| Draws the plot symbol into the given graphics context centered at the provided point. | |
Static Public Member Functions | |
Factory Methods | |
| (CPPlotSymbol *) | + plotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeNone. | |
| (CPPlotSymbol *) | + crossPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCross. | |
| (CPPlotSymbol *) | + ellipsePlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeEllipse. | |
| (CPPlotSymbol *) | + rectanglePlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeRectangle. | |
| (CPPlotSymbol *) | + plusPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePlus. | |
| (CPPlotSymbol *) | + starPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeStar. | |
| (CPPlotSymbol *) | + diamondPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDiamond. | |
| (CPPlotSymbol *) | + trianglePlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeTriangle. | |
| (CPPlotSymbol *) | + pentagonPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePentagon. | |
| (CPPlotSymbol *) | + hexagonPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeHexagon. | |
| (CPPlotSymbol *) | + dashPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDash. | |
| (CPPlotSymbol *) | + snowPlotSymbol |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeSnow. | |
| (CPPlotSymbol *) | + customPlotSymbolWithPath: |
| Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCustom. | |
Properties | |
| CGSize | size |
| The symbol size. | |
| CPPlotSymbolType | symbolType |
| The symbol type. | |
| CPLineStyle * | lineStyle |
| The line style for the border of the symbol. If nil, the border is not drawn. | |
| CPFill * | fill |
| The fill for the interior of the symbol. If nil, the symbol is not filled. | |
| CGPathRef | customSymbolPath |
| The drawing path for a custom plot symbol. It will be scaled to size before being drawn. | |
| BOOL | usesEvenOddClipRule |
| If YES, the even-odd rule is used to draw the symbol, otherwise the nonzero winding number rule is used. | |
Plot symbols for CPScatterPlot.
| + (CPPlotSymbol *) crossPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCross.
| + (CPPlotSymbol *) customPlotSymbolWithPath: | (CGPathRef) | aPath |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeCustom.
| aPath | The bounding path for the custom symbol. |
| + (CPPlotSymbol *) dashPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDash.
| + (CPPlotSymbol *) diamondPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeDiamond.
| + (CPPlotSymbol *) ellipsePlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeEllipse.
| + (CPPlotSymbol *) hexagonPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeHexagon.
| + (CPPlotSymbol *) pentagonPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePentagon.
| + (CPPlotSymbol *) plotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeNone.
| + (CPPlotSymbol *) plusPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypePlus.
| + (CPPlotSymbol *) rectanglePlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeRectangle.
| - (void) renderInContext: | (CGContextRef) | theContext | ||
| atPoint: | (CGPoint) | center | ||
Draws the plot symbol into the given graphics context centered at the provided point.
| theContext | The graphics context to draw into. | |
| center | The center point of the symbol. |
| + (CPPlotSymbol *) snowPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeSnow.
| + (CPPlotSymbol *) starPlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeStar.
| + (CPPlotSymbol *) trianglePlotSymbol |
Creates and returns a new CPPlotSymbol instance initialized with a symbol type of CPPlotSymbolTypeTriangle.
- usesEvenOddClipRule [read, write, assign] |
If YES, the even-odd rule is used to draw the symbol, otherwise the nonzero winding number rule is used.
1.6.3