---
title: "draw_polyline method"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/page/draw_polyline/"
product: "Aspose.Diagram for Python via .NET API References"
---


## draw_polyline(pin_x, pin_y, width, height, points) {#float-float-float-float-aspose.pydrawing.PointF[]}

The process of drawing polyline.

### Returns 


The unique ID of the shape within shapes collection on the specified page.


```python
def draw_polyline(self, pin_x, pin_y, width, height, points):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| pin_x | float | Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the page. |
| pin_y | float | Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the page. |
| width | float | Specifies the width of the shape |
| height | float | Specifies the height of the shape |
| points | aspose.pydrawing.PointF[] | Specifies the points of the polyline |



### See Also
* module [aspose.diagram](../../)
* class [Page](/diagram/python-net/aspose.diagram/page)
