com.aspose.xps

Class XpsVisualBrush



  • public final class XpsVisualBrush
    extends XpsTilingBrush

    Class incapsulating VisualBrush property element features. This element is used to fill a region with a drawing.

    • Method Detail

      • getVisual

        public XpsContentElement getVisual()

        Returns a Path, Glyphs, or Canvas element used to draw the brush’s source content.

        Returns:
        A Path, Glyphs, or Canvas element used to draw the brush’s source content.
      • setVisual

        public void setVisual(XpsContentElement visual)

        Sets visual as Visual element of visual brush.

        Parameters:
        visual - The element.
      • deepClone

        public XpsVisualBrush deepClone()

        Clones this visual brush.

        Returns:
        Clone of this visual brush.