Search Results for

    Show / Hide Table of Contents

    Class BezierCurveInterpolator

    Helper class which allows to interpolate value for cubic bezier curve.

    Inheritance
    java.lang.Object
    BezierCurveInterpolator
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class BezierCurveInterpolator

    Constructors

    BezierCurveInterpolator()

    Declaration
    public BezierCurveInterpolator()

    Fields

    a

    The a control point of the bezier curve.

    Declaration
    public final PointF a
    Field Value
    Type Description
    android.graphics.PointF

    b

    The b control point of the bezier curve.

    Declaration
    public final PointF b
    Field Value
    Type Description
    android.graphics.PointF

    end

    The start point of the bezier curve.

    Declaration
    public final PointF end
    Field Value
    Type Description
    android.graphics.PointF

    start

    The start point of the bezier curve.

    Declaration
    public final PointF start
    Field Value
    Type Description
    android.graphics.PointF

    Methods

    calculateApproximatedLength()

    Calculates approximate length of the bezier curve.

    Declaration
    public final float calculateApproximatedLength()
    Returns
    Type Description
    float

    The length of bezier curve.

    divideCurveAt(float t, PointF subStart, PointF subA, PointF subB, PointF subEnd)

    Splits bezier curve at specified t.

    Declaration
    public final void divideCurveAt(float t, PointF subStart, PointF subA, PointF subB, PointF subEnd)
    Parameters
    Type Name Description
    float t

    The t values from 0 to 1 to split curve at.

    android.graphics.PointF subStart

    The start point of sub curve.

    android.graphics.PointF subA

    The a control point of sub curve.

    android.graphics.PointF subB

    The b control point of sub curve.

    android.graphics.PointF subEnd

    The end point of sub curve.

    getY(float x)

    Gets interpolated y values for specified x value.

    Declaration
    public final float getY(float x)
    Parameters
    Type Name Description
    float x

    The x value.

    Returns
    Type Description
    float

    The interpolated y value.

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