public class HemfGraphics extends HwmfGraphics
HwmfGraphics.FillDrawStylegraphicsCtx, initialAT, objectIndexes, objectTable, prop, propStack| Constructor and Description |
|---|
HemfGraphics(java.awt.Graphics2D graphicsCtx,
java.awt.geom.Rectangle2D bbox) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectTableEntry(HwmfObjectTableEntry entry,
int index)
Adds or sets an record of type
HwmfObjectTableEntry to the object table. |
void |
applyObjectTableEntry(int index)
Applies the object table entry
|
void |
draw(java.util.function.Consumer<java.awt.geom.Path2D> pathConsumer,
HwmfGraphics.FillDrawStyle fillDraw) |
void |
draw(HemfRecord r) |
HemfDrawProperties |
getProperties() |
protected HemfDrawProperties |
newProperties(HwmfDrawProperties oldProps) |
addObjectTableEntry, draw, drawImage, drawString, drawString, fill, getFill, getHatchedFill, getInitTransform, getPatternPaint, getSolidFill, getStroke, getTransform, restoreProperties, saveProperties, setClip, setTransform, unsetObjectTableEntry, updateWindowMapModepublic HemfGraphics(java.awt.Graphics2D graphicsCtx,
java.awt.geom.Rectangle2D bbox)
public HemfDrawProperties getProperties()
getProperties in class HwmfGraphicsprotected HemfDrawProperties newProperties(HwmfDrawProperties oldProps)
newProperties in class HwmfGraphicspublic void draw(HemfRecord r)
@Internal public void draw(java.util.function.Consumer<java.awt.geom.Path2D> pathConsumer, HwmfGraphics.FillDrawStyle fillDraw)
public void addObjectTableEntry(HwmfObjectTableEntry entry, int index)
HwmfObjectTableEntry to the object table.
If the index is less than 1, the method acts the same as
HwmfGraphics.addObjectTableEntry(HwmfObjectTableEntry), otherwise the
index is used to access the object table.
As the table is filled successively, the index must be between 1 and size+1entry - the record to be storedindex - the index to be overwritten, regardless if its content was unset beforeHwmfGraphics.addObjectTableEntry(HwmfObjectTableEntry)public void applyObjectTableEntry(int index)
HwmfGraphicsapplyObjectTableEntry in class HwmfGraphicsindex - the index of the object table entry (0-based)