public static class HwmfDraw.WmfArc extends java.lang.Object implements HwmfRecord
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.geom.Rectangle2D |
bounds
the bounding rectangle
|
protected java.awt.geom.Point2D |
endPoint
ending point of the arc
|
protected java.awt.geom.Point2D |
startPoint
starting point of the arc
|
| Constructor and Description |
|---|
WmfArc() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
protected HwmfGraphics.FillDrawStyle |
getFillDrawStyle() |
protected java.awt.geom.Arc2D |
getShape() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
java.lang.String |
toString() |
protected final java.awt.geom.Point2D startPoint
protected final java.awt.geom.Point2D endPoint
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 HwmfGraphics.FillDrawStyle getFillDrawStyle()
protected java.awt.geom.Arc2D getShape()
public java.lang.String toString()
toString in class java.lang.Object