create_visual_brush method

create_visual_brush

Creates a new visual brush.

Returns

New visual brush.

def create_visual_brush(self, element, viewbox, viewport):
    ...
ParameterTypeDescription
elementaspose.page.xps.xpsmodel.XpsContentElementThe XPS element (Canvas, Path or Glyphs) for Visual property od visual brush.
viewboxaspose.pydrawing.RectangleFThe position and dimensions of the brush’s source content.
viewportaspose.pydrawing.RectangleFThe 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