Initializes a new instance of the PdfPaths class.
Document.
Offset.
Draws a bezier curve from the current point to a new point using the (cp1x, cp1y) and (cp2x, cp2y) as the control points.
The new current point is (x, y).
The X-coordinate of the first control point, in points.
The Y-coordinate of the first control point, in points.
The X-coordinate of the second control point, in points.
The Y-coordinate of the second control point, in points.
The X-coordinate of the new point, in points.
The Y-coordinate of the new point, in points.
The PdfPaths object.
Creates a clipping path used to limit the regions of the page affected by painting operators.
The fill rule to use.
The PdfPaths object.
Draws an ellipse.
The X-coordinate of the center of the ellipse, in points.
The Y-coordinate of the center of the ellipse, in points.
The radius of the ellipse along the X-axis, in points.
The radius of the ellipse along the Y-axis, in points. If it is not provided, then it is assumed to be equal to radiusX.
The PdfPaths object.
Fills the path with the specified brush and rule. If brush is not specified, then the default document brush will be used (see the PdfDocument.setBrush method).
The brush argument can accept the following values:
The brush or color to use.
The fill rule to use.
The PdfPaths object.
Fills and strokes the path with the specified brush, pen and rule. If brush and pen is not specified, then the default document brush and pen will be used (See the PdfDocument.setBrush, PdfDocument.setPen methods).
The brush argument can accept the following values:
The pen argument can accept the following values:
The brush or color to use.
The pen or color to use.
The fill rule to use.
The PdfPaths object.
Draws a quadratic curve from the current point to a new point using the current point and (cpx, cpy) as the control points.
The new current point is (x, y).
The X-coordinate of the control point, in points.
The Y-coordinate of the control point, in points.
The X-coordinate of the new point, in points.
The Y-coordinate of the new point, in points.
The PdfPaths object.
Draws a rectangle.
The X-coordinate of the topleft corner of the rectangle, in points.
The Y-coordinate of the topleft corner of the rectangle, in points.
The width of the rectangle, in points.
The width of the rectangle, in points.
The PdfPaths object.
Draws a rounded rectangle.
The X-coordinate of the upper-left corner of the rectangle, in points.
The Y-coordinate of the upper-left corner of the rectangle, in points.
The width of the rectangle, in points.
The width of the rectangle, in points.
The corner radius of the rectangle, in points. The default value is 0.
The PdfPaths object.
Strokes the path with the specified pen. If pen is not specified, then the default document pen will be used (See the PdfDocument.setPen method).
The pen argument can accept the following values:
The PdfPaths object.
Provides methods for creating graphics paths and drawing them or using them for clipping.
Path creation method calls must be finished with the PdfPaths.stroke, PdfPaths.fill, PdfPaths.fillAndStroke or PdfPaths.clip method. Any document methods which don't apply directly to path creation/ drawing/ clipping (changing a pen, drawing a text, saving the graphics state etc) are prohibited to use until the path is finished. The PdfPaths.lineTo, PdfPaths.bezierCurveTo and PdfPaths.quadraticCurveTo methods should not start the path, they must be preceded with the PdfPaths.moveTo.
The methods are chainable:
This class is not intended to be instantiated in your code.