Search Results for

    Show / Hide Table of Contents

    Interface IPathDrawingContext

    Defines the interface for path based rendering on IRenderContext2D

    Namespace:
    Assembly: .dll
    Syntax
    public interface IPathDrawingContext

    Methods

    begin(IPathColor color, float x, float y)

    Starts the context at specified x, y coordinate with specified path color

    Declaration
    public abstract IPathDrawingContext begin(IPathColor color, float x, float y)
    Parameters
    Type Name Description
    IPathColor color

    The pen or brush for the drawing operation

    float x

    The x-coordinate in pixels

    float y

    The y-coordinate in pixels

    Returns
    Type Description

    The IPathDrawingContext instance, to allow fluent API

    end()

    Ends the segment, flushing to render target

    Declaration
    public abstract void end()

    moveTo(float x, float y)

    Moves the context to the specified x, y coordinate

    Declaration
    public abstract IPathDrawingContext moveTo(float x, float y)
    Parameters
    Type Name Description
    float x

    The x-coordinate in pixels

    float y

    The y-coordinate in pixels

    Returns
    Type Description

    The IPathDrawingContext instance, to allow fluent API

    moveToPoints(float[] points, int startIndex, int count)

    Moves the context to multiple x, y coordinates

    Declaration
    public abstract IPathDrawingContext moveToPoints(float[] points, int startIndex, int count)
    Parameters
    Type Name Description
    float[] points

    The array with x, y coordinates in pixels

    int startIndex

    The start index in points array to draw

    int count

    The amount of points to draw

    Returns
    Type Description

    The IPathDrawingContext instance, to allow fluent API

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