Search Results for

    Show / Hide Table of Contents

    Interface IPointMarker

    Specifies interface for rendering point markers. A point marker is something which is displayed at data points

    Implements
    IInvalidatableElement
    IAttachable
    IRenderSurfaceChangedListener
    Namespace:
    Assembly: .dll
    Syntax
    public interface IPointMarker extends IInvalidatableElement, IAttachable, IRenderSurfaceChangedListener

    Methods

    getFillStyle()

    Gets the fill style (fill) of the PointMarker

    Declaration
    public abstract BrushStyle getFillStyle()
    Returns
    Type Description
    BrushStyle

    Current fill style value

    getHeight()

    Gets the height of the PointMarker in pixels

    Declaration
    public abstract int getHeight()
    Returns
    Type Description
    int

    Height of the PointMarker in pixels

    getRenderableSeries()

    Gets the IRenderableSeries which this IPointMarker instance is associated with

    Declaration
    public abstract renderableSeries.IRenderableSeries getRenderableSeries()
    Returns
    Type Description
    renderableSeries.IRenderableSeries

    Currently attached IRenderableSeries instance

    getStrokeStyle()

    Gets the stroke style (outline) of the PointMarker

    Declaration
    public abstract PenStyle getStrokeStyle()
    Returns
    Type Description
    PenStyle

    Current stroke style value

    getWidth()

    Gets the width of the PointMarker in pixels

    Declaration
    public abstract int getWidth()
    Returns
    Type Description
    int

    Width of the PointMarker in pixels

    onDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, PenStyle strokeStyle, BrushStyle fillStyle, float opacity, float[] points, int startIndex, int count)

    Renders the PointMarker at specified points with fill and stroke. Each point is a coordinate in the centre of the PointMarker

    Declaration
    public abstract void onDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, PenStyle strokeStyle, BrushStyle fillStyle, float opacity, float[] points, int startIndex, int count)
    Parameters
    Type Name Description
    IRenderContext2D renderContext

    The IRenderContext2D instance to draw to

    IAssetManager2D assetManager

    The IAssetManager2D instance which allows to create assets for drawing on render context

    PenStyle strokeStyle

    Stroke PenStyle instance

    BrushStyle fillStyle

    Fill BrushStyle instance

    float opacity

    The opacity of point marker

    float[] points

    Array of points to draw [x0 y0 x1 y1 x2 y2 ...]

    int startIndex

    Start index of values in the array which need to be drawn

    int count

    The number of values in the array to process.

    setFillStyle(BrushStyle fillStyle)

    Sets the fill style (fill) of the PointMarker

    Declaration
    public abstract void setFillStyle(BrushStyle fillStyle)
    Parameters
    Type Name Description
    BrushStyle fillStyle

    New fill style value

    setHeight(int height)

    Sets the height of the PointMarker in pixels

    Declaration
    public abstract void setHeight(int height)
    Parameters
    Type Name Description
    int height

    Height of the PointMarker in pixels

    setSize(int width, int height)

    Sets the size of the PointMarker in pixels

    Declaration
    public abstract void setSize(int width, int height)
    Parameters
    Type Name Description
    int width

    Width of the PointMarker in pixels

    int height

    Height of the PointMarker in pixels

    setStrokeStyle(PenStyle strokeStyle)

    Sets the stroke style (outline) of the PointMarker

    Declaration
    public abstract void setStrokeStyle(PenStyle strokeStyle)
    Parameters
    Type Name Description
    PenStyle strokeStyle

    New stroke style value

    setWidth(int width)

    Sets the width of the PointMarker in pixels

    Declaration
    public abstract void setWidth(int width)
    Parameters
    Type Name Description
    int width

    Width of the PointMarker in pixels

    Implements

    IInvalidatableElement
    IAttachable
    IRenderSurfaceChangedListener
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml