iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCISpritePointMarkerDrawer
@protocol ISCISpritePointMarkerDrawer
Interface which provides callback for drawing content of SCISpritePointMarker
.
-
Renders
ISCIPointMarker
instance on bitmap which will be converted toISCITexture2D
.Declaration
Objective-C
- (void)onDrawBitmap:(nonnull SCIBitmap *)bitmap withPenStyle:(nonnull SCIPenStyle *)penStyle andBrushStyle:(nonnull SCIBrushStyle *)brushStyle;
Swift
func onDraw(_ bitmap: SCIBitmap, with penStyle: SCIPenStyle, andBrushStyle brushStyle: SCIBrushStyle)
Parameters
bitmap
The bitmap where content of sprite should be drawn.
penStyle
The pen style which will be used to draw stroke on bitmap.
brushStyle
The brush style which will be used to fill bitmap.