Packages

 

com.aspose.cad.fileformats.psd.resources

Class TransparencyIndexResource



  • public final class TransparencyIndexResource
    extends ResourceBlock

    The transparency index resource block.

    • Constructor Detail

      • TransparencyIndexResource

        public TransparencyIndexResource()

        Initializes a new instance of the TransparencyIndexResource class.

    • Method Detail

      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

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

        public int getMinimalVersion()

        Gets the minimal required psd version.

        Specified by:
        getMinimalVersion in class ResourceBlock
        Returns:
        The minimal psd version.
      • getTransparencyIndex

        public short getTransparencyIndex()

        Gets or sets the transparency color index.

        Returns:
        The transparency color index.
      • setTransparencyIndex

        public void setTransparencyIndex(short value)

        Gets or sets the transparency color index.

        Parameters:
        value - The transparency color index.