public static class HwmfDraw.WmfRoundRect extends Object implements HwmfRecord
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle2D |
bounds |
protected Dimension2D |
corners |
| Constructor and Description |
|---|
WmfRoundRect() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
Rectangle2D |
getBounds() |
Dimension2D |
getCorners() |
Map<String,Supplier<?>> |
getGenericProperties() |
protected RoundRectangle2D |
getShape() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericRecordTypegetGenericChildrenprotected final Dimension2D corners
protected final Rectangle2D bounds
public HwmfRecordType getWmfRecordType()
getWmfRecordType in interface HwmfRecordpublic int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamIOExceptionpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifyprotected RoundRectangle2D getShape()
public Dimension2D getCorners()
public Rectangle2D getBounds()
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord