public class HwmfPicture
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_RECORD_LENGTH
Max.
|
Constructor and Description |
---|
HwmfPicture(java.io.InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics2D ctx) |
void |
draw(java.awt.Graphics2D ctx,
java.awt.geom.Rectangle2D graphicsBounds) |
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounding box in device-independent units.
|
HwmfHeader |
getHeader() |
HwmfPlaceableHeader |
getPlaceableHeader() |
java.util.List<HwmfRecord> |
getRecords() |
java.awt.Dimension |
getSize()
Return the image size in points
|
public static final int MAX_RECORD_LENGTH
public HwmfPicture(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
public java.util.List<HwmfRecord> getRecords()
public void draw(java.awt.Graphics2D ctx)
public void draw(java.awt.Graphics2D ctx, java.awt.geom.Rectangle2D graphicsBounds)
public java.awt.geom.Rectangle2D getBounds()
public HwmfPlaceableHeader getPlaceableHeader()
public HwmfHeader getHeader()
public java.awt.Dimension getSize()
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.