create_visual_brush method
create_visual_brush
Creates a new visual brush.
Returns
New visual brush.
def create_visual_brush(self, element, viewbox, viewport):
...
| Parameter | Type | Description |
|---|---|---|
| element | aspose.page.xps.xpsmodel.XpsContentElement | The XPS element (Canvas, Path or Glyphs) for Visual property od visual brush. |
| viewbox | aspose.pydrawing.RectangleF | The position and dimensions of the brush’s source content. |
| viewport | aspose.pydrawing.RectangleF | The region in the containing coordinate space of the prime brush tile that is (possibly repeatedly) applied to fill the region to which the brush is applied |
See Also
- module
aspose.page.xps - class
XpsDocument - class
XpsVisualBrush