public static class HwmfDraw.WmfRoundRect extends java.lang.Object implements HwmfRecord
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.geom.Rectangle2D |
bounds |
protected int |
height
A 16-bit signed integer that defines the height, in logical coordinates, of the
ellipse used to draw the rounded corners.
|
protected int |
width
A 16-bit signed integer that defines the width, in logical coordinates, of the
ellipse used to draw the rounded corners.
|
| Constructor and Description |
|---|
WmfRoundRect() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
protected java.awt.geom.RoundRectangle2D |
getShape() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
protected int height
protected int width
protected final java.awt.geom.Rectangle2D bounds
public HwmfRecordType getWmfRecordType()
getWmfRecordType in interface HwmfRecordpublic int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamjava.io.IOExceptionpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifyprotected java.awt.geom.RoundRectangle2D getShape()