Packages

 

com.aspose.imaging.fileformats.psd.resources

Class WatermarkResource



  • public final class WatermarkResource
    extends ResourceBlock

    Watermark resource

    • Constructor Detail

      • WatermarkResource

        public WatermarkResource()

        Initializes a new instance of the WatermarkResource class.

    • Method Detail

      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

        Value: The resource data size.
        Specified by:
        getDataSize in class ResourceBlock
        Returns:
        The resource data size.
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required PSD version.

        Value: The minimal PSD version.
        Specified by:
        getMinimalVersion in class ResourceBlock
        Returns:
        The minimal PSD version.
      • isWatermark

        public boolean isWatermark()

        Gets or sets a value indicating whether this instance is watermark.

        Value: true if this instance is watermark; otherwise, false.
      • setWatermark

        public void setWatermark(boolean value)

        Gets or sets a value indicating whether this instance is watermark.

        Value: true if this instance is watermark; otherwise, false.