Packages

 

com.aspose.psd.fileformats.psd.layers.fillsettings

Class GradientColorPoint

  • java.lang.Object
    • com.aspose.psd.fileformats.psd.layers.fillsettings.GradientColorPoint
    • Constructor Detail

      • GradientColorPoint

        public GradientColorPoint()

        Initializes a new instance of the GradientColorPoint class.

      • GradientColorPoint

        public GradientColorPoint(Color color,
                                  int location,
                                  int medianPointLocation)

        Initializes a new instance of the GradientColorPoint class.

        Parameters:
        color - Color point on gradient.
        location - The location of the color point on the gradient.
        medianPointLocation - The median gradient point location.
    • Method Detail

      • getLocation

        public final int getLocation()

        Gets or sets the point location on gradient.

        Value: The location.
        Specified by:
        getLocation in interface IGradientColorPoint
      • setLocation

        public final void setLocation(int value)

        Gets or sets the point location on gradient.

        Value: The location.
        Specified by:
        setLocation in interface IGradientColorPoint
      • getMedianPointLocation

        public final int getMedianPointLocation()

        Gets or sets the median gradient point location.

        Value: The median point location.
        Specified by:
        getMedianPointLocation in interface IGradientColorPoint
      • setMedianPointLocation

        public final void setMedianPointLocation(int value)

        Gets or sets the median gradient point location.

        Value: The median point location.
        Specified by:
        setMedianPointLocation in interface IGradientColorPoint