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
(接口 HemfRecord 中的 getEmfRecordType)
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface
HemfRecord
(在接口 HemfRecord 中初始化)
leis
- the little endian input stream
(leis - 小端输入流)
recordSize
- the size limit for this record
(recordSize - 此记录的大小限制)
recordId
- the id of the
HemfRecordType
(recordId - HemfRecordType 的 id)
java.io.IOException
- when the inputstream is malformed
(java.io.IOException - 当输入流格式错误时)
protected 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
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
HwmfFill.WmfFillRegion
public HemfRecordType getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HemfRecord
(接口 HemfRecord 中的 getGenericRecordType)
getGenericRecordType
in interface
HwmfRecord
(接口 HwmfRecord 中的 getGenericRecordType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.