public interface IPointMarker extends com.scichart.core.framework.IInvalidatableElement, com.scichart.core.framework.IAttachable, IRenderSurfaceChangedListener
Modifier and Type | Method and Description |
---|---|
com.scichart.drawing.common.BrushStyle |
getFillStyle()
Gets the fill style (fill) of the PointMarker
|
int |
getHeight()
Gets the height of the PointMarker in pixels
|
IRenderableSeries |
getRenderableSeries()
Gets the
IRenderableSeries which this IPointMarker instance is associated with |
com.scichart.drawing.common.PenStyle |
getStrokeStyle()
Gets the stroke style (outline) of the PointMarker
|
int |
getWidth()
Gets the width of the PointMarker in pixels
|
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.
|
void |
setFillStyle(com.scichart.drawing.common.BrushStyle fillStyle)
Sets the fill style (fill) of the PointMarker
|
void |
setHeight(int height)
Sets the height of the PointMarker in pixels
|
void |
setSize(int width,
int height)
Sets the size of the PointMarker in pixels
|
void |
setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
Sets the stroke style (outline) of the PointMarker
|
void |
setWidth(int width)
Sets the width of the PointMarker in pixels
|
invalidateElement
attachTo, detach, isAttached
onRenderSurfaceChanged
IRenderableSeries getRenderableSeries()
IRenderableSeries
which this IPointMarker
instance is associated withIRenderableSeries
instancecom.scichart.drawing.common.PenStyle getStrokeStyle()
void setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
strokeStyle
- New stroke style valuecom.scichart.drawing.common.BrushStyle getFillStyle()
void setFillStyle(com.scichart.drawing.common.BrushStyle fillStyle)
fillStyle
- New fill style valueint getWidth()
void setWidth(int width)
width
- Width of the PointMarker in pixelsint getHeight()
void setHeight(int height)
height
- Height of the PointMarker in pixelsvoid setSize(int width, int height)
width
- Width of the PointMarker in pixelsheight
- Height of the PointMarker in pixelsvoid 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.