com.aspose.xps

Class XpsVisualBrush

  • All Implemented Interfaces:
    Iterable<XpsElement>


    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 XpsElement 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(XpsCanvas canvas)

        Sets canvas as Visual element of visual brush.

        Parameters:
        canvas - Canvas element.
      • setVisual

        public void setVisual(XpsPath path)

        Sets path as Visual element of visual brush.

        Parameters:
        path - Path element.
      • setVisual

        public void setVisual(XpsGlyphs glyphs)

        Sets glyphs as Visual element of visual brush.

        Parameters:
        glyphs - Glyphs element.
      • deepClone

        public XpsVisualBrush deepClone()

        Clones this visual brush.

        Returns:
        Clone of this visual brush.