Packages

 

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

Class PhflResource

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Method Detail

      • getDensity

        public final int getDensity()

        Gets or sets the density.

        Value: The density.
      • setDensity

        public final void setDensity(int value)

        Gets or sets the density.

        Value: The density.
      • getPreserveLuminosity

        public final boolean getPreserveLuminosity()

        Gets or sets a value indicating whether [preserve luminosity].

        Value: true if [preserve luminosity]; otherwise, false.
      • setPreserveLuminosity

        public final void setPreserveLuminosity(boolean value)

        Gets or sets a value indicating whether [preserve luminosity].

        Value: true if [preserve luminosity]; otherwise, false.
      • getVersion

        public abstract short getVersion()

        Gets the version. Default is 2 or 3

        Value: The version.
      • setVersion

        public abstract void setVersion(short value)

        Gets the version. Default is 2 or 3

        Value: The version.
      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
      • getRgbColor

        public abstract Color getRgbColor()

        Gets the color of the RGB.

        Returns:
        The RGB Color
      • setRgbColor

        public abstract void setRgbColor(Color color)

        Sets the RGB color.

        Parameters:
        color - The RGB color.