public static class HemfFill.EmfFrameRgn extends HwmfDraw.WmfFrameRegion implements HemfRecord
brushIndex, frame, regionIndex| Constructor and Description |
|---|
EmfFrameRgn() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.awt.geom.Rectangle2D |
getBounds() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.lang.Enum |
getGenericRecordType() |
java.util.List<java.awt.geom.Rectangle2D> |
getRgnRects() |
protected java.awt.Shape |
getShape() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
getBrushIndex, getFrame, getRegionIndex, getWmfRecordType, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, setHeadergetGenericChildrenpublic HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic 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 malformedpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecorddraw in class HwmfDraw.WmfFrameRegionctx - the graphics context to modifyprotected java.awt.Shape getShape()
public java.awt.geom.Rectangle2D getBounds()
public java.util.List<java.awt.geom.Rectangle2D> getRgnRects()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class HwmfDraw.WmfFrameRegionpublic java.lang.Enum getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in interface HemfRecordgetGenericRecordType in interface HwmfRecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.