public static class HwmfDraw.WmfPolygon extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.Path2D |
poly |
Constructor and Description |
---|
WmfPolygon() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
protected HwmfGraphics.FillDrawStyle |
getFillDrawStyle() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
java.lang.String |
toString() |
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 java.lang.String toString()
toString
in class java.lang.Object
protected HwmfGraphics.FillDrawStyle getFillDrawStyle()
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.