public static class HemfFill.EmfFrameRgn extends HwmfDraw.WmfFrameRegion implements HemfRecord
HemfRecord.RenderBounds
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() |
HemfRecordType |
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, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcBounds, draw, setHeader
getGenericChildren
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface HemfRecord
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
draw
in class HwmfDraw.WmfFrameRegion
ctx
- 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 GenericRecord
getGenericProperties
in class HwmfDraw.WmfFrameRegion
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfRecord
getGenericRecordType
in interface HwmfRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.