PdfPathOperationCurveTo Method |
Constructs a new Curve PdfPathOpertaion, representing a Bezier curve
Namespace:
Atalasoft.PdfDoc.Generating.Rendering
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static PdfPathOperation CurveTo(
PdfPoint sourceControlPoint,
PdfPoint destinationControlPoint,
PdfPoint destinationPoint
)
Public Shared Function CurveTo (
sourceControlPoint As PdfPoint,
destinationControlPoint As PdfPoint,
destinationPoint As PdfPoint
) As PdfPathOperation
Parameters
- sourceControlPoint
- Type: Atalasoft.PdfDoc.GeometryPdfPoint
The source control point. - destinationControlPoint
- Type: Atalasoft.PdfDoc.GeometryPdfPoint
The destination control point. - destinationPoint
- Type: Atalasoft.PdfDoc.GeometryPdfPoint
The destination point.
Return Value
Type:
PdfPathOperationa new PdfPathoperation with Action set to Curve. The Points property will contain three points representing the source and destination control points and the destination point, respectively.
Examples PdfPathOpertaion curve = PdfPathOperation.CurveTo(cp1, cp2, destPoint);
See Also