draw_polyline method

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.

def draw_polyline(self, pin_x, pin_y, width, height, points):
    ...
ParameterTypeDescription
pin_xfloatSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pin_yfloatSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
widthfloatSpecifies the width of the shape
heightfloatSpecifies the height of the shape
pointsaspose.pydrawing.PointF[]Specifies the points of the polyline

See Also