public static class HwmfDraw.WmfRoundRect extends java.lang.Object implements HwmfRecord
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.geom.Rectangle2D |
bounds |
protected java.awt.geom.Dimension2D |
corners |
| Constructor and Description |
|---|
WmfRoundRect() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.awt.geom.Rectangle2D |
getBounds() |
java.awt.geom.Dimension2D |
getCorners() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
protected java.awt.geom.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 java.awt.geom.Dimension2D corners
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()
public java.awt.geom.Dimension2D getCorners()
public java.awt.geom.Rectangle2D getBounds()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.