
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIDrawablePointMarker
@interface SCIDrawablePointMarker : SCIPointMarkerBase
Allows any custom drawing to be rendered via ISCIRenderContext2D
API at each data point location.
Warning
Derived classes must implement-internalDrawWithContext:at:withStrokePen:andFillBrush:
which draws PointMarker
at specified point, otherwise exception will be throwed.
See
SCIPointMarkerBase
.
-
Renders single PointMarker at specified coordinates on screen.
Declaration
Objective-C
- (void)internalDrawWithContext:(id<ISCIRenderContext2D>)renderContext at:(CGPoint)point withStrokePen:(id<ISCIPen2D>)pen andFillBrush:(id<ISCIBrush2D>)brush;
Swift
func internalDraw(with renderContext: ISCIRenderContext2D!, at point: CGPoint, withStroke pen: ISCIPen2D!, andFill brush: ISCIBrush2D!)
Parameters
renderContext
The
ISCIRenderContext2D
instance to draw to.point
The coorsinates to draw point marker at.
pen
Stroke
ISCIPen2D
instance.brush
Fill
ISCIBrush2D
instance.