Packages

 

com.aspose.psd.fileformats.psd.layers.layerresources

Class GdFlResource



  • public class GdFlResource
    extends FillLayerResource
    Class GdFlResource. This resource contains information about blending of clipped element.
    See Also:
    LayerResource
    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey
        The type tool info key.
        See Also:
        Constant Field Values
    • Method Detail

      • getColor

        public Color getColor()
      • setColor

        public void setColor(Color value)
      • getKey

        public int getKey()
        Gets the layer resource key.
        Specified by:
        getKey in class LayerResource
      • getLength

        public int getLength()
        Gets the layer resource length in bytes.
        Specified by:
        getLength in class LayerResource
      • getPsdVersion

        public int getPsdVersion()
        Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
        Specified by:
        getPsdVersion in class LayerResource
      • getAngle

        public double getAngle()
        Gets or sets the angle.

        The angle.

      • setAngle

        public void setAngle(double value)
      • getScale

        public int getScale()
        Gets or sets the scale.

        The scale.

      • setScale

        public void setScale(int value)
      • getHorizontalOffset

        public double getHorizontalOffset()
        Gets or sets the horizontal offset.

        The horizontal offset.

      • setHorizontalOffset

        public void setHorizontalOffset(double value)
      • getVerticalOffset

        public double getVerticalOffset()
        Gets or sets the vertical offset.

        The vertical offset.

      • setVerticalOffset

        public void setVerticalOffset(double value)
      • getGradientType

        public int getGradientType()
      • setGradientType

        public void setGradientType(int value)
      • getColorPoints

        public IGradientColorPoint[] getColorPoints()
        Gets the color points.

        The color points.

      • getTransparencyPoints

        public IGradientTransparencyPoint[] getTransparencyPoints()
        Gets the transparency points.

        The transparency points.

      • getGradientName

        public String getGradientName()
        Gets or sets the name of the gradient.

        The name of the gradient.

      • setGradientName

        public void setGradientName(String value)
      • getGradientInterval

        public double getGradientInterval()
        Gets or sets the gradient interval.

        The gradient interval.

      • setGradientInterval

        public void setGradientInterval(double value)
      • getReverse

        public boolean getReverse()
      • setReverse

        public void setReverse(boolean value)
      • getDither

        public boolean getDither()
      • setDither

        public void setDither(boolean value)
      • getAlignWithLayer

        public boolean getAlignWithLayer()
      • setAlignWithLayer

        public void setAlignWithLayer(boolean value)
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)
        Saves the resource to the specified stream container.
        Specified by:
        save in class LayerResource
        Parameters:
        streamContainer - The stream container to save to.
        psdVersion - The PSD version.