public final class PICT extends Metafile
Metafile.Header
CHECKSUM_SIZE, logger, offset, painters, uidInstanceCount
Constructor and Description |
---|
PICT() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Extract compressed PICT data from a ppt
|
int |
getSignature()
PICT signature is
0x5420 or 0x5430 |
int |
getType()
Returns type of this picture.
|
void |
setData(byte[] data)
Set picture data
|
void |
setSignature(int signature)
Sets the PICT signature - either
0x5420 or 0x5430 |
create, draw, getChecksum, getHeader, getImagePainter, getOffset, getRawData, getSize, getUID, getUIDInstanceCount, setImagePainter, setOffset, setRawData, write
public byte[] getData()
getData
in class PictureData
public void setData(byte[] data) throws java.io.IOException
PictureData
setData
in class PictureData
java.io.IOException
public int getType()
PictureData
Picture class.
getType
in class PictureData
Picture.PICT
public int getSignature()
0x5420
or 0x5430
getSignature
in class PictureData
0x5420
or 0x5430
)public void setSignature(int signature)
0x5420
or 0x5430
setSignature
in class PictureData
Copyright 2015 The Apache Software Foundation or its licensors, as applicable.