Search Results for

    Show / Hide Table of Contents

    Interface IBezierControlPointsProvider

    Defines a provider of control points for cubic bezier curve which are drawn through set of specified points in 2D space

    Namespace:
    Assembly: .dll
    Syntax
    public interface IBezierControlPointsProvider

    Methods

    adjustXPointRange(IndexRange xPointRange, dataSeries.IDataSeries<?,?> dataSeries, coordinateCalculators.ICoordinateCalculator xCoordinateCalculator)

    Adjusts xPointRange in case if provider requires some additional points to calculate control points

    Declaration
    public abstract void adjustXPointRange(IndexRange xPointRange, dataSeries.IDataSeries<?,?> dataSeries, coordinateCalculators.ICoordinateCalculator xCoordinateCalculator)
    Parameters
    Type Name Description
    IndexRange xPointRange

    The point range to adjust

    IDataSeries<?,?> dataSeries

    The data series associated with this provider

    coordinateCalculators.ICoordinateCalculator xCoordinateCalculator

    The current coordinate calculator for XAxis

    getBezierCurveControlPoints(FloatValues xCoords, FloatValues yCoords, FloatValues xaCoords, FloatValues yaCoords, FloatValues xbCoords, FloatValues ybCoords, int count)

    Calculates control points for cubic bezier curves to drawn smooth line though specified 2D coordinates

    Declaration
    public abstract void getBezierCurveControlPoints(FloatValues xCoords, FloatValues yCoords, FloatValues xaCoords, FloatValues yaCoords, FloatValues xbCoords, FloatValues ybCoords, int count)
    Parameters
    Type Name Description
    FloatValues xCoords

    The xCoords to draw through

    FloatValues yCoords

    The yCoords to draw through

    FloatValues xaCoords

    The xCoords of first control points to set

    FloatValues yaCoords

    The yCoords of first control points to set

    FloatValues xbCoords

    The xCoords of second control points to set

    FloatValues ybCoords

    The yCoords of second control points to set

    int count

    The amount of points to draw through

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