public static class HemfFill.EmfFillRgn extends HwmfFill.WmfFillRegion implements HemfRecord
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.Rectangle2D |
bounds |
protected java.util.List<java.awt.geom.Rectangle2D> |
rgnRects |
brushIndex, regionIndex
Constructor and Description |
---|
EmfFillRgn() |
Modifier and Type | Method and Description |
---|---|
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
|
draw, getBrushIndex, getRegionIndex, getWmfRecordType, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcBounds, draw, setHeader
getGenericChildren
protected final java.awt.geom.Rectangle2D bounds
protected final java.util.List<java.awt.geom.Rectangle2D> rgnRects
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 malformedprotected 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 HwmfFill.WmfFillRegion
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfRecord
getGenericRecordType
in interface HwmfRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.