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(Graphics g)
Renders the WMF image(s).
|
addObject, addObjectAt, getAttributedString, getCharacterIterator, getCharacterIterator, getImage, getImage, getImageDimension, setRecordStorepublic 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(Graphics g)
public WMFRecordStore getRecordStore()
getRecordStore in class AbstractWMFPainterCopyright © 2000–2021 Apache Software Foundation. All rights reserved.