
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIDrawingContext
@protocol ISCIDrawingContext <NSObject>
Defines the drawing context methods for drawing many primitives with one draw call.
-
Draws provided points with this drawing context on provided
ISCIRenderContext2D
.Declaration
Objective-C
- (void)drawWith:(nonnull id<ISCIRenderContext2D>)renderContext pathColor:(nonnull id<ISCIPathColor>)pathColor points:(nonnull float *)points startIndex:(int)startIndex count:(int)count;
Parameters
renderContext
The render context to draw on.
pathColor
The path color to draw points with.
points
The array of point to draw.
startIndex
The start index in points array to start drawing from.
count
The amount of points to draw from points array.