public class SpritePointMarker extends BasePointMarker
SpritePointMarker.ISpritePointMarkerDrawer
implementation to specify desired drawing.Modifier and Type | Class and Description |
---|---|
static interface |
SpritePointMarker.ISpritePointMarkerDrawer
Interface which provides callback for drawing content of
SpritePointMarker |
fillStyleProperty, strokeStyleProperty
Constructor and Description |
---|
SpritePointMarker(SpritePointMarker.ISpritePointMarkerDrawer callback) |
Modifier and Type | Method and Description |
---|---|
void |
onDraw(com.scichart.drawing.common.IRenderContext2D renderContext,
com.scichart.drawing.common.IAssetManager2D assetManager,
com.scichart.drawing.common.PenStyle strokeStyle,
com.scichart.drawing.common.BrushStyle fillStyle,
float opacity,
float[] points,
int startIndex,
int count)
Renders the PointMarker at specified points with fill and stroke.
|
attachTo, detach, getFillStyle, getHeight, getRenderableSeries, getStrokeStyle, getWidth, invalidateElement, isAttached, onRenderSurfaceChanged, onSizeChanged, setFillStyle, setHeight, setSize, setStrokeStyle, setWidth
public SpritePointMarker(SpritePointMarker.ISpritePointMarkerDrawer callback)
public void onDraw(com.scichart.drawing.common.IRenderContext2D renderContext, com.scichart.drawing.common.IAssetManager2D assetManager, com.scichart.drawing.common.PenStyle strokeStyle, com.scichart.drawing.common.BrushStyle fillStyle, float opacity, float[] points, int startIndex, int count)
renderContext
- The IRenderContext2D
instance to draw toassetManager
- The IAssetManager2D
instance which allows to create assets for drawing on render contextstrokeStyle
- Stroke PenStyle
instancefillStyle
- Fill BrushStyle
instanceopacity
- The opacity of point markerpoints
- Array of points to draw [x0 y0 x1 y1 x2 y2 ...]startIndex
- Start index of values in the array which need to be drawncount
- The number of values in the array to process.