public static class HwmfDraw.WmfArc extends java.lang.Object implements HwmfRecord
Modifier and Type | Class and Description |
---|---|
static class |
HwmfDraw.WmfArc.WmfArcClosure |
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
|
HwmfDraw.WmfArc.WmfArcClosure |
getArcClosure() |
java.awt.geom.Rectangle2D |
getBounds() |
java.awt.geom.Point2D |
getEndPoint() |
protected HwmfGraphics.FillDrawStyle |
getFillDrawStyle() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
protected java.awt.geom.Arc2D |
getShape() |
java.awt.geom.Point2D |
getStartPoint() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericRecordType
getGenericChildren
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 HwmfRecord
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface HwmfRecord
leis
- the little endian input streamjava.io.IOException
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- the graphics context to modifypublic HwmfDraw.WmfArc.WmfArcClosure getArcClosure()
protected HwmfGraphics.FillDrawStyle getFillDrawStyle()
protected java.awt.geom.Arc2D getShape()
public java.lang.String toString()
toString
in class java.lang.Object
public java.awt.geom.Point2D getStartPoint()
public java.awt.geom.Point2D getEndPoint()
public java.awt.geom.Rectangle2D getBounds()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.