com.aspose.xps

Class XpsLinearGradientBrush

  • All Implemented Interfaces:
    Iterable<XpsElement>


    public final class XpsLinearGradientBrush
    extends XpsGradientBrush

    Class incapsulating LinearGradientBrush property element features. This element is used to specify a linear gradient brush along a vector.

    • Method Detail

      • getStartPoint

        public Point2D getStartPoint()

        Returns the starting point of the linear gradient.

        Returns:
        The starting point of the linear gradient.
      • setStartPoint

        public void setStartPoint(Point2D value)

        Sets the starting point of the linear gradient.

        Parameters:
        value - The starting point of the linear gradient.
      • getEndPoint

        public Point2D getEndPoint()

        Returns the end point of the linear gradient.

        Returns:
        The end point of the linear gradient.
      • setEndPoint

        public void setEndPoint(Point2D value)

        Returns/sets the end point of the linear gradient.

        Parameters:
        value - The end point of the linear gradient.
      • deepClone

        public XpsLinearGradientBrush deepClone()

        Clones this linear gradient brush.

        Returns:
        Clone of this linear gradient brush.