Show / Hide Table of Contents

Class CubicCurveBuilder

Creates Cubic Curves from linear points

Inheritance
System.Object
CubicCurveBuilder
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public sealed class CubicCurveBuilder : IDisposable

Methods

AddSourcePoint(Double, Double)

Add a source xy point.

Declaration
public void AddSourcePoint(double x, double y)
Parameters
Type Name Description
System.Double x

the x coordinate

System.Double y

the y coordinate

Dispose()

Declaration
public override sealed void Dispose()

Dispose(Boolean)

Declaration
[HandleProcessCorruptedStateExceptions]
protected void Dispose(bool A_0)
Parameters
Type Name Description
System.Boolean A_0

Finalize()

Declaration
protected void Finalize()

GetCubicXCoord(Int32)

Get the cubic X coordinate.

Declaration
public double GetCubicXCoord(int index)
Parameters
Type Name Description
System.Int32 index

the index of the coordinate. Must be less than NumCubicPoints()

Returns
Type Description
System.Double

X coordinate of the indicated point on the cubic curve

GetCubicYCoord(Int32)

Get the cubic Y coordinate.

Declaration
public double GetCubicYCoord(int index)
Parameters
Type Name Description
System.Int32 index

the index of the coordinate. Must be less than NumCubicPoints()

Returns
Type Description
System.Double

Y coordinate of the indicated point on the cubic curve

NumCubicPoints()

Number of generated cubic points.

Declaration
public int NumCubicPoints()
Returns
Type Description
System.Int32

Indicates that the conversion succeeded, failed, or was cancelled

NumSourcePoints()

Number of source points.

Declaration
public int NumSourcePoints()
Returns
Type Description
System.Int32

Indicates that the conversion succeeded, failed, or was cancelled

Implements

System.IDisposable
Back to top Generated by DocFX