public static class HemfDraw.EmfPolyDraw extends HwmfDraw.WmfPolygon implements HemfRecord
poly| Constructor and Description |
|---|
EmfPolyDraw() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addClose() |
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
java.awt.geom.Rectangle2D |
getBounds() |
HemfRecordType |
getEmfRecordType() |
protected HwmfGraphics.FillDrawStyle |
getFillDrawStyle() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HemfRecordType |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
protected long |
readPoint(LittleEndianInputStream leis,
java.awt.geom.Point2D point) |
draw, getPoly, getWmfRecordType, init, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalcBounds, setHeadergetGenericChildrenpublic HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordprotected long readPoint(LittleEndianInputStream leis, java.awt.geom.Point2D point)
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformedprotected HwmfGraphics.FillDrawStyle getFillDrawStyle()
getFillDrawStyle in class HwmfDraw.WmfPolygonpublic void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic java.awt.geom.Rectangle2D getBounds()
protected boolean addClose()
addClose in class HwmfDraw.WmfPolygontrue if the path needs to be closedpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class HwmfDraw.WmfPolygonpublic HemfRecordType getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in interface HemfRecordgetGenericRecordType in interface HwmfRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.