create method
create
Creates a pattern using the specified image data and repetition mode.
Returns
An opaque object describing the created pattern.
def create(self, canvas, data, repetition):
...
| Parameter | Type | Description |
|---|---|---|
| canvas | aspose.svg.rendering.ICanvas | The canvas associated with the pattern. |
| data | bytes | The image data used for the pattern. |
| repetition | str | A string indicating how to repeat the image. |
See Also
- module
aspose.svg.dom.canvas - class
ICanvasPatternFactory