public static class HemfPlusObject.EmfPlusObject extends java.lang.Object implements HemfPlusRecord, HemfPlusMisc.EmfPlusObjectId, HwmfObjectTableEntry
OBJECT_ID
Constructor and Description |
---|
EmfPlusObject() |
Modifier and Type | Method and Description |
---|---|
void |
applyObject(HwmfGraphics ctx) |
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
(绘制记录,默认重定向到父WMF记录绘制)
|
HemfPlusRecordType |
getEmfPlusRecordType() |
int |
getFlags() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
<T extends HemfPlusObject.EmfPlusObjectData> |
getObjectData() |
HemfPlusObject.EmfPlusObjectType |
getObjectType() |
int |
getTotalObjectSize() |
long |
init(LittleEndianInputStream leis, long dataSize, long recordId, int flags)
Init record from stream
(从流初始化记录)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcBounds, getGenericRecordType
getGenericChildren
getObjectId
public HemfPlusRecordType getEmfPlusRecordType()
getEmfPlusRecordType
in interface
HemfPlusRecord
(接口 HemfPlusRecord 中的 getEmfPlusRecordType)
public int getFlags()
getFlags
in interface
HemfPlusMisc.EmfPlusObjectId
(接口 HemfPlusMisc.EmfPlusObjectId 中的 getFlags)
getFlags
in interface
HemfPlusRecord
(接口 HemfPlusRecord 中的 getFlags)
public HemfPlusObject.EmfPlusObjectType getObjectType()
public <T extends HemfPlusObject.EmfPlusObjectData> T getObjectData()
public int getTotalObjectSize()
public long init(LittleEndianInputStream leis, long dataSize, long recordId, int flags) throws java.io.IOException
HemfPlusRecord
init
in interface
HemfPlusRecord
(在接口 HemfPlusRecord 中初始化)
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 - 当输入流格式错误时)
public void draw(HemfGraphics ctx)
HemfPlusRecord
draw
in interface
HemfPlusRecord
(在界面 HemfPlusRecord 中绘制)
ctx
- the drawing context
(ctx - 绘图上下文)
public void applyObject(HwmfGraphics ctx)
applyObject
in interface
HwmfObjectTableEntry
(接口 HwmfObjectTableEntry 中的 applyObject)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.