draw_image method
draw_image
Draws an image on the canvas.
def draw_image(self, data, type, rect):
...
| Parameter | Type | Description |
|---|---|---|
| data | bytes | The byte array representing the image data. |
| type | aspose.svg.drawing.WebImageFormat | The format of the image data. See WebImageFormat. |
| rect | aspose.pydrawing.RectangleF | The destination rectangle where the image will be drawn. |
See Also
- module
aspose.svg.rendering - class
ICanvas - class
WebImageFormat