Packages

 

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

Class SoCoResource



  • public class SoCoResource
    extends FillLayerResource

    Class SoCoResource. This resource contains information about blending of clipped element.

    See Also:
    LayerResource
    • Field Detail

      • TYPE_TOOL_KEY

        public static final int TYPE_TOOL_KEY

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • SoCoResource

        public SoCoResource()

        Initializes a new instance of the SoCoResource class.

    • Method Detail

      • getColor

        public final Color getColor()

        Gets the color of the RGB.

        Returns:
        The RGB Color
      • setColor

        public final void setColor(Color value)

        The color of the RGB.

        Parameters:
        value - the color of the RGB.
      • getSignature

        public int getSignature()

        Gets the layer resource signature.

        Overrides:
        getSignature in class FillLayerResource
        Returns:
        the layer resource signature.
      • getKey

        public int getKey()

        Gets the layer resource key.

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

        public int getLength()

        Gets the layer resource length in bytes.

        Specified by:
        getLength in class LayerResource
        Returns:
        the layer resource length in bytes.
      • getPsdVersion

        public int getPsdVersion()

        Gets the minimal psd version required for layer resource. 0 indicates no restrictions.

        Specified by:
        getPsdVersion in class LayerResource
        Returns:
        the minimal psd version required for layer resource.
      • 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.
        Throws:
        com.aspose.ms.System.NotImplementedException