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 | 
|---|---|
| protected boolean | addClose() | 
| void | draw(HwmfGraphics ctx)Apply the record settings to the graphics context | 
| protected HwmfGraphics.FillDrawStyle | getFillDrawStyle() | 
| java.util.Map<java.lang.String,java.util.function.Supplier<?>> | getGenericProperties() | 
| java.awt.geom.Path2D | getPoly() | 
| 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, waitgetGenericRecordTypegetGenericChildrenpublic 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 modifypublic java.lang.String toString()
toString in class java.lang.Objectprotected HwmfGraphics.FillDrawStyle getFillDrawStyle()
public java.awt.geom.Path2D getPoly()
protected boolean addClose()
true if the path needs to be closedpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.