| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private final int | |
| private int | |
| private final int | |
| private final int | inch
The number of logical units per inch used to represent the image. |
| private final int | |
| private static final Logger | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Rectangle | |
| public int | |
| public int | |
| public Dimension | |
| public void |
| APMHEADER_KEY | back to summary |
|---|---|
| public static final int APMHEADER_KEY | |
| bottom | back to summary |
|---|---|
| private final int bottom | |
| checksum | back to summary |
|---|---|
| private int checksum | |
| handle | back to summary |
|---|---|
private final int handle
| |
| inch | back to summary |
|---|---|
| private final int inch The number of logical units per inch used to represent the image. This value can be used to scale an image. By convention, an image is considered to be recorded at 1440 logical units (twips) per inch. Thus, a value of 720 specifies that the image SHOULD be rendered at twice its normal size, and a value of 2880 specifies that the image SHOULD be rendered at half its normal size. | |
| left | back to summary |
|---|---|
| private final int left | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| reserved | back to summary |
|---|---|
private final int reserved
| |
| right | back to summary |
|---|---|
| private final int right | |
| top | back to summary |
|---|---|
| private final int top | |
| ImageHeaderWMF | back to summary |
|---|---|
| public ImageHeaderWMF(Rectangle dim) | |
| ImageHeaderWMF | back to summary |
|---|---|
| public ImageHeaderWMF(byte[] data, final int off) | |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() | |
| getChecksum | back to summary |
|---|---|
| public int getChecksum() Returns a checksum value for the previous 10 shorts in the header. The checksum is calculated by XORing each short value to an initial value of 0: | |
| getLength | back to summary |
|---|---|
| public int getLength() | |
| getSize | back to summary |
|---|---|
| public Dimension getSize() | |
| write | back to summary |
|---|---|
| public void write(OutputStream out) throws IOException | |