Packages

 

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

Class PhflResource

    • Field Detail

      • TYPE_TOOL_KEY

        public static final int TYPE_TOOL_KEY

        The type tool info key.

        See Also:
        Constant Field Values
    • Method Detail

      • getDensity

        public final int getDensity()

        Gets the density.

        Returns:
        the density.
      • setDensity

        public final void setDensity(int value)

        Sets the density.

        Parameters:
        value - the density.
      • getPreserveLuminosity

        public final boolean getPreserveLuminosity()

        Gets a value indicating whether [preserve luminosity].

        Returns:
        a value indicating whether [preserve luminosity].
      • setPreserveLuminosity

        public final void setPreserveLuminosity(boolean value)

        Sets a value indicating whether [preserve luminosity].

        Parameters:
        value - a value indicating whether [preserve luminosity].
      • getVersion

        public abstract short getVersion()

        Gets the version. Default is 2 or 3

        Returns:
        the version. Default is 2 or 3
      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
        Returns:
        the layer resource key.
      • getPsdVersion

        public int getPsdVersion()

        Gets the psd version.

        Specified by:
        getPsdVersion in class LayerResource
        Returns:
        the psd version.
      • 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.