CurveTo Class Documentation

classCurveTo : Segment

Namespace:Datalogics::PDFL

Inherits from:
Segment

Detailed Description

The curveto operator is used to draw a Bezier curve.

The curved segment is appended to a path.

The curveto operator calculates the curve between two endpoints, the current (beginning) point and the final (end) point, and in relation to two matching control points.

The control points define the nature of the curve between the two endpoints. These values are represented by a series of x and y coordinates.

Referenced by

Uses types

Constructor & Destructor Documentation

CurveTo

CurveTo(CurveTorhs, InternalConstructsignifier)

Parameters

rhs: CurveTo
signifier: InternalConstruct

CurveTo

CurveTo(doublex1, doubley1, doublex2, doubley2, doublex3, doubley3)

Parameters

x1: double

The x-coordinate of the first control point.

y1: double

The y-coordinate of the first control point.

x2: double

The x-coordinate of the second control point.

y2: double

The y-coordinate of the second control point.

x3: double

The x-coordinate of the new current point.

y3: double

The y-coordinate of the new current point.

Append a cubic Bézier curve to the current path. The curve extends from the current point to the point (x3, y3), using (x1, y1) and (x2, y2) as the Bézier control points. The new current point is (x3 , y3).

CurveTo

CurveTo(Pointpoint1, Pointpoint2, Pointpoint3)

Parameters

point1: Point

the first control point.

point2: Point

the second control point.

point3: Point

the new current point.

Append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using point1 and point2 as the Bézier control points. The new current point is point3.

Property Documentation

Point1

PointPoint1[get, set]

The first control point.

Point2

PointPoint2[get, set]

The second control point.

Point3

PointPoint3[get, set]

The new current point.

Member Function Documentation

ConstructorRetrieve

static new static CurveToConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

new static CurveTo

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

ToString

override stringToString()

Returns:

override string