Class PICT

  • All Implemented Interfaces:
    PictureData

    public final class PICT
    extends Metafile
    Represents Macintosh PICT picture data.
    • Constructor Detail

      • PICT

        public PICT()
    • Method Detail

      • getData

        public byte[] getData()
        Description copied from interface: PictureData
        Returns the binary data of this Picture
        Returns:
        picture data
      • setData

        public void setData​(byte[] data)
                     throws java.io.IOException
        Description copied from interface: PictureData
        Sets the binary picture data
        Parameters:
        data - picture data
        Throws:
        java.io.IOException
      • getSignature

        public int getSignature()
        PICT signature is 0x5420 or 0x5430
        Returns:
        PICT signature (0x5420 or 0x5430)
      • setSignature

        public void setSignature​(int signature)
        Sets the PICT signature - either 0x5420 or 0x5430
        Specified by:
        setSignature in class HSLFPictureData