@Internal public interface HemfPlusRecord extends GenericRecord
Modifier and Type | Method and Description |
---|---|
default void |
calcBounds(java.awt.geom.Rectangle2D window, java.awt.geom.Rectangle2D viewport, HemfGraphics.EmfRenderState[] renderState) |
default void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
(绘制记录,默认重定向到父WMF记录绘制)
|
HemfPlusRecordType |
getEmfPlusRecordType() |
int |
getFlags() |
default HemfPlusRecordType |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis, long dataSize, long recordId, int flags)
Init record from stream
(从流初始化记录)
|
getGenericChildren, getGenericProperties
HemfPlusRecordType getEmfPlusRecordType()
int getFlags()
long init(LittleEndianInputStream leis, long dataSize, long recordId, int flags) throws java.io.IOException
leis
- the little endian input stream
(leis - 小端输入流)
dataSize
- the size limit for this record
(dataSize - 此记录的大小限制)
recordId
- the id of the
HemfPlusRecordType
(recordId - HemfPlusRecordType 的 id)
flags
- the record flags
(flags - 记录标志)
java.io.IOException
- when the inputstream is malformed
(java.io.IOException - 当输入流格式错误时)
default void draw(HemfGraphics ctx)
ctx
- the drawing context
(ctx - 绘图上下文)
default void calcBounds(java.awt.geom.Rectangle2D window, java.awt.geom.Rectangle2D viewport, HemfGraphics.EmfRenderState[] renderState)
default HemfPlusRecordType getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.