Class DrawablePointMarker
Allows any custom drawing to be rendered via IRenderContext2D API at each data point location. Derived classes should implement #internalDraw(IRenderContext2D, float, float, IPen2D, IBrush2D) which draws PointMarker at specified point. See Also: BasePointMarker
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class DrawablePointMarker extends BasePointMarker
Constructors
DrawablePointMarker()
Declaration
public DrawablePointMarker()
Methods
internalDraw(IRenderContext2D renderContext, float x, float y, IPen2D strokePen, IBrush2D fillBrush)
Renders single PointMarker at specified coordinates on screen
Declaration
protected abstract void internalDraw(IRenderContext2D renderContext, float x, float y, IPen2D strokePen, IBrush2D fillBrush)
Parameters
Type | Name | Description |
---|---|---|
IRenderContext2D | renderContext | The IRenderContext2D instance to draw to. |
float | x | The x-coordinate of the point to draw point marker at. |
float | y | The y-coordinate of the point to draw point marker at. |
IPen2D | strokePen | Stroke IPen2D instance. |
IBrush2D | fillBrush | Fill IBrush2D instance. |
onDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, PenStyle strokeStyle, BrushStyle fillStyle, float opacity, float[] points, int startIndex, int count)
Declaration
public void onDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, PenStyle strokeStyle, BrushStyle fillStyle, float opacity, float[] points, int startIndex, int count)
Parameters
Type | Name | Description |
---|---|---|
IRenderContext2D | renderContext | |
IAssetManager2D | assetManager | |
PenStyle | strokeStyle | |
BrushStyle | fillStyle | |
float | opacity | |
float[] | points | |
int | startIndex | |
int | count |