|
Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
40 @property (nonatomic, readwrite, assign) CGSize
size;
43 @property (nonatomic, readwrite, strong, nullable)
CPTFill *
fill;
62 +(nonnull instancetype)customPlotSymbolWithPath:(nullable
CGPathRef)aPath;
Immutable wrapper for various shadow drawing properties.
Definition: CPTShadow.h:3
nonnull instancetype ellipsePlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeE...
Definition: CPTPlotSymbol.m:307
Immutable wrapper for various line drawing properties. Create a CPTMutableLineStyle if you want to cu...
Definition: CPTLineStyle.h:20
NSMutableArray< CPTPlotSymbol * > CPTMutablePlotSymbolArray
A mutable array of plot symbols.
Definition: CPTPlotSymbol.h:35
@ CPTPlotSymbolTypeCross
X symbol.
Definition: CPTPlotSymbol.h:20
@ CPTPlotSymbolTypeDash
Dash symbol.
Definition: CPTPlotSymbol.h:22
nonnull instancetype plusPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeP...
Definition: CPTPlotSymbol.m:331
nonnull instancetype crossPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeC...
Definition: CPTPlotSymbol.m:295
nonnull instancetype starPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeS...
Definition: CPTPlotSymbol.m:343
CPTPlotSymbolType symbolType
The symbol type.
Definition: CPTPlotSymbol.h:41
@ CPTPlotSymbolTypeDiamond
Diamond symbol.
Definition: CPTPlotSymbol.h:15
@ CPTPlotSymbolTypeHexagon
Hexagon symbol.
Definition: CPTPlotSymbol.h:19
CPTShadow * shadow
The shadow applied to each plot symbol.
Definition: CPTPlotSymbol.h:44
@ CPTPlotSymbolTypeStar
5-point star symbol.
Definition: CPTPlotSymbol.h:17
nonnull instancetype pentagonPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeP...
Definition: CPTPlotSymbol.m:379
CGPoint anchorPoint
The anchor point for the plot symbol. Defaults to (0.5, 0.5) which centers the symbol on the plot poi...
Definition: CPTPlotSymbol.h:39
nonnull instancetype dashPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeD...
Definition: CPTPlotSymbol.m:403
Draws area fills.
Definition: CPTFill.h:18
nonnull instancetype plotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeN...
Definition: CPTPlotSymbol.m:283
@ CPTPlotSymbolTypeCustom
Custom symbol.
Definition: CPTPlotSymbol.h:24
@ CPTPlotSymbolTypePlus
Plus symbol.
Definition: CPTPlotSymbol.h:21
CGSize size
The symbol size.
Definition: CPTPlotSymbol.h:40
nonnull instancetype rectanglePlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeR...
Definition: CPTPlotSymbol.m:319
Plot symbols for CPTScatterPlot.
Definition: CPTPlotSymbol.h:37
@ CPTPlotSymbolTypePentagon
Pentagon symbol.
Definition: CPTPlotSymbol.h:18
CPTLineStyle * lineStyle
The line style for the border of the symbol. If nil, the border is not drawn.
Definition: CPTPlotSymbol.h:42
nonnull instancetype diamondPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeD...
Definition: CPTPlotSymbol.m:355
NSArray< CPTPlotSymbol * > CPTPlotSymbolArray
An array of plot symbols.
Definition: CPTPlotSymbol.h:30
BOOL usesEvenOddClipRule
If YES, the even-odd rule is used to draw the symbol, otherwise the non-zero winding number rule is u...
Definition: CPTPlotSymbol.h:46
CGPathRef customSymbolPath
The drawing path for a custom plot symbol. It will be scaled to size before being drawn.
Definition: CPTPlotSymbol.h:45
nonnull instancetype snowPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeS...
Definition: CPTPlotSymbol.m:415
CPTPlotSymbolType
Plot symbol types.
Definition: CPTPlotSymbol.h:11
@ CPTPlotSymbolTypeRectangle
Rectangle symbol.
Definition: CPTPlotSymbol.h:13
@ CPTPlotSymbolTypeTriangle
Triangle symbol.
Definition: CPTPlotSymbol.h:16
@ CPTPlotSymbolTypeNone
No symbol.
Definition: CPTPlotSymbol.h:12
nonnull instancetype hexagonPlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeH...
Definition: CPTPlotSymbol.m:391
nonnull instancetype trianglePlotSymbol()
Creates and returns a new CPTPlotSymbol instance initialized with a symbol type of CPTPlotSymbolTypeT...
Definition: CPTPlotSymbol.m:367
@ CPTPlotSymbolTypeEllipse
Elliptical symbol.
Definition: CPTPlotSymbol.h:14
@ CPTPlotSymbolTypeSnow
Snowflake symbol.
Definition: CPTPlotSymbol.h:23
CPTFill * fill
The fill for the interior of the symbol. If nil, the symbol is not filled.
Definition: CPTPlotSymbol.h:43