Packages

 

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

Class BlwhResource

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • BlwhResource

        public BlwhResource()

        Initializes a new instance of the BlwhResource class.

    • Method Detail

      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
      • getReds

        public final int getReds()

        Gets or sets the reds value.

        Value: The reds value.
      • setReds

        public final void setReds(int value)

        Gets or sets the reds value.

        Value: The reds value.
      • getYellows

        public final int getYellows()

        Gets or sets the yellows value.

        Value: The yellows value.
      • setYellows

        public final void setYellows(int value)

        Gets or sets the yellows value.

        Value: The yellows value.
      • getGreens

        public final int getGreens()

        Gets or sets the greens value.

        Value: The greens value.
      • setGreens

        public final void setGreens(int value)

        Gets or sets the greens value.

        Value: The greens value.
      • getCyans

        public final int getCyans()

        Gets or sets the cyans value.

        Value: The cyans value.
      • setCyans

        public final void setCyans(int value)

        Gets or sets the cyans value.

        Value: The cyans value.
      • getBlues

        public final int getBlues()

        Gets or sets the blues value.

        Value: The blues value.
      • setBlues

        public final void setBlues(int value)

        Gets or sets the blues value.

        Value: The blues value.
      • getMagentas

        public final int getMagentas()

        Gets or sets the magentas value.

        Value: The magentas value.
      • setMagentas

        public final void setMagentas(int value)

        Gets or sets the magentas value.

        Value: The magentas value.
      • getUseTint

        public final boolean getUseTint()

        Gets or sets a value indicating whether [tint color] is used.

        Value: true if used [tint color]; otherwise, false.
      • setUseTint

        public final void setUseTint(boolean value)

        Gets or sets a value indicating whether [tint color] is used.

        Value: true if used [tint color]; otherwise, false.
      • getBwPresetKind

        public final int getBwPresetKind()

        Gets or sets the black and white preset kind value.

        Value: The black and white preset kind value.
      • setBwPresetKind

        public final void setBwPresetKind(int value)

        Gets or sets the black and white preset kind value.

        Value: The black and white preset kind value.
      • getBlackAndWhitePresetFileName

        public final String getBlackAndWhitePresetFileName()

        Gets or sets the black and white preset file name.

        Value: The black and white preset file name.
      • setBlackAndWhitePresetFileName

        public final void setBlackAndWhitePresetFileName(String value)

        Gets or sets the black and white preset file name.

        Value: The black and white preset file name.
      • getLength

        public int getLength()

        Gets the layer resource length in bytes.

        Specified by:
        getLength in class LayerResource
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)

        Saves the resource to the specified stream container.

        Overrides:
        save in class AdjustmentLayerResource
        Parameters:
        streamContainer - The stream container to save to.
        psdVersion - The PSD version.
      • getTintColor

        public int getTintColor()

        Gets the ARGB tint color.

        Returns:
        The ARGB tint color.
      • setTintColor

        public void setTintColor(int value)

        Sets the tint color.

        Parameters:
        value - The value.