Class PICT

All Implemented Interfaces:
PictureData

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

    • PICT

      public PICT()
  • Method Details

    • 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 IOException
      Description copied from interface: PictureData
      Sets the binary picture data
      Parameters:
      data - picture data
      Throws:
      IOException
    • getType

      public PictureData.PictureType getType()
      Returns:
      the picture type
    • getSignature

      public int getSignature()
      PICT signature is 0x5420 or 0x5430
      Specified by:
      getSignature in class HSLFPictureData
      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