Packages

 

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

Class SmartResourceCreator

  • java.lang.Object
    • com.aspose.psd.fileformats.psd.layers.layerresources.smartobjectresources.SmartResourceCreator


  • public class SmartResourceCreator
    extends Object

    Defines the SmartResourceCreator class that can create PlLd, SoLd and SoLe resources. Is is used to support smart object layers in the Adobe´┐Ż Photoshop´┐Ż images.

    See Also:
    PlLdResource, SoLdResource, SoLeResource
    • Constructor Detail

      • SmartResourceCreator

        public SmartResourceCreator()

        Initializes a new instance of the SmartResourceCreator class.

      • SmartResourceCreator

        public SmartResourceCreator(boolean isCustom,
                                    boolean hasCompInfo)

        Initializes a new instance of the SmartResourceCreator class.

        Parameters:
        isCustom - if set to true [is custom].
        hasCompInfo - if set to true [has comp information].
      • SmartResourceCreator

        public SmartResourceCreator(PlacedResource template)

        Initializes a new instance of the SmartResourceCreator class with the given template.

        Parameters:
        template - The smart object resource template.
    • Method Detail

      • generatePlacedResource

        public final PlLdResource generatePlacedResource()

        Generates the placed resource.

        Returns:
        The generated PlLdResource instance.
      • generateSmartEmbeddedResource

        public final SoLdResource generateSmartEmbeddedResource()

        Generates the embedded smart object resource.

        Returns:
        The generated SoLdResource instance.
      • generateSmartExternalResource

        public final SoLeResource generateSmartExternalResource()

        Generates the external smart object resource.

        Returns:
        The generated SoLeResource instance.