com.aspose.xps

Class XpsGradientBrush

    • Method Detail

      • getGradientStops

        public List<XpsGradientStop> getGradientStops()

        Returns list of gradient stops that comprise the gradient.

        Returns:
        List of gradient stops that comprise the gradient.
      • setGradientStops

        public void setGradientStops(List<XpsGradientStop> value)

        Sets list of gradient stops that comprise the gradient.

        Parameters:
        value - List of gradient stops that comprise the gradient.
      • getColorInterpolationMode

        public XpsColorInterpolationMode getColorInterpolationMode()

        Returns value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.

        Returns:
        Value specifying the gamma function for color interpolation.
      • setColorInterpolationMode

        public void setColorInterpolationMode(XpsColorInterpolationMode value)

        Sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.

        Parameters:
        value - Value specifying the gamma function for color interpolation.
      • getSpreadMethod

        public XpsSpreadMethod getSpreadMethod()

        Returns value describing how the brush should fill the content area outside of the primary, initial gradient area.

        Returns:
        Value describing how the brush should fill the content area outside of the primary, initial gradient area.
      • setSpreadMethod

        public void setSpreadMethod(XpsSpreadMethod value)

        Sets value describing how the brush should fill the content area outside of the primary, initial gradient area.

        Parameters:
        value - Value describing how the brush should fill the content area outside of the primary, initial gradient area.