public static class HwmfDraw.WmfArc extends Object implements HwmfRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HwmfDraw.WmfArc.WmfArcClosure |
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle2D |
bounds
the bounding rectangle
|
protected Point2D |
endPoint
ending point of the arc
|
protected 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
|
HwmfDraw.WmfArc.WmfArcClosure |
getArcClosure() |
Rectangle2D |
getBounds() |
Point2D |
getEndPoint() |
protected HwmfGraphics.FillDrawStyle |
getFillDrawStyle() |
Map<String,Supplier<?>> |
getGenericProperties() |
protected Arc2D |
getShape() |
Point2D |
getStartPoint() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericRecordTypegetGenericChildrenprotected final Point2D startPoint
protected final Point2D endPoint
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 modifypublic HwmfDraw.WmfArc.WmfArcClosure getArcClosure()
protected HwmfGraphics.FillDrawStyle getFillDrawStyle()
protected Arc2D getShape()
public Point2D getStartPoint()
public Point2D getEndPoint()
public Rectangle2D getBounds()
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord