public static class HwmfDraw.WmfPolygon extends Object implements HwmfRecord
| Constructor and Description |
|---|
WmfPolygon() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addClose() |
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
protected HwmfGraphics.FillDrawStyle |
getFillDrawStyle() |
Map<String,Supplier<?>> |
getGenericProperties() |
Path2D |
getPoly() |
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 Path2D poly
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 modifyprotected HwmfGraphics.FillDrawStyle getFillDrawStyle()
public Path2D getPoly()
protected boolean addClose()
true if the path needs to be closedpublic Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord