# Path
Class Inherits PDFObject
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | x as Double <br> y as Double | (None) | Creates a new instance of the class. |
| CurveTo | x2 as Double <br> y2 as Double <br> x3 as Double <br> y3 as Double <br> x4 as Double <br> y4 as Double | (None) | Append a cubic Bézier curve to the current path. The curve extends from the current point to the point (x4, y4), using (x2, y2) and (x3, y3) as Bézier control points. All points are absolute page coordinates. The new current point is (x4, y4). |
| LineTo | x as Double <br> y as Double | (None) | Append a straight line segment from the current point to the point (x, y). The PDF "l" operator. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| AutoClose | Boolean | False | When True, the path will automatically close if not closed by the added operations. |
| ScaleX | Double | 1 | Horizontal scale applied to the drawn path. |
| ScaleY | Double | 1 | Vertical scale applied to the drawn path. |
| X | Double | -1 | Starting position of the path. Value of -1 uses global current document coordinates. |
| Y | Double | -1 | Starting position of the path. Value of -1 uses global current document coordinates. |