public class WMFPainter extends AbstractWMFPainter
Graphics
object.bReadingWMF, BRUSH, currentHorizAlign, currentStore, currentVertAlign, FONT, NULL_BRUSH, NULL_PEN, OBJ_BITMAP, OBJ_REGION, PALETTE, PEN, WMF_FILE_EXTENSION, wmfFont
Constructor and Description |
---|
WMFPainter(WMFRecordStore currentStore,
float scale)
Basic constructor.
|
WMFPainter(WMFRecordStore currentStore,
int xOffset,
int yOffset,
float scale)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
WMFRecordStore |
getRecordStore()
Returns the WMFRecordStore this WMFPainter renders
|
void |
paint(java.awt.Graphics g)
Renders the WMF image(s).
|
addObject, addObjectAt, getAttributedString, getCharacterIterator, getCharacterIterator, getImage, getImage, getImageDimension, setRecordStore
public WMFPainter(WMFRecordStore currentStore, float scale)
currentStore
- where the WMF records are storedscale
- the scale of the imagepublic WMFPainter(WMFRecordStore currentStore, int xOffset, int yOffset, float scale)
scale
- the scale of the imagecurrentStore
- where the WMF records are storedxOffset
- x value for offsetyOffset
- y value for offsetpublic void paint(java.awt.Graphics g)
public WMFRecordStore getRecordStore()
getRecordStore
in class AbstractWMFPainter
Copyright © 2022 Apache Software Foundation. All Rights Reserved.