Class PlLdResource

  • All Implemented Interfaces:

    public class PlLdResource
    extends PlacedResource

    Defines the PlLdResource class that contains information about a placed layer in the PSD file. Is is used to support smart object layers in the Adobe® Photoshop® images. It was replaced by SoLdResource in the Adobe® Photoshop® CS3

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • PlLdResource

        public PlLdResource()

        Initializes a new instance of the PlLdResource class. This default constructor is designed for using by PlLdResourceLoader. Use SmartResourceCreator for creating PlLdResource classes.

    • Method Detail

      • getKey

        public int getKey()

        Gets the PlLd resource key.

        Specified by:
        getKey in class LayerResource
      • getLength

        public int getLength()

        Gets the PlLd resource length in bytes.

        Specified by:
        getLength in class LayerResource
      • getPsdVersion

        public int getPsdVersion()

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

        Specified by:
        getPsdVersion in class LayerResource
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)

        Saves the PlLD resource to the specified stream container.

        Specified by:
        save in class LayerResource
        streamContainer - The stream container to save to.
        psdVersion - The PSD version.