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
|
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
getGenericRecordType
getGenericChildren
getObjectId
public HemfPlusRecordType getEmfPlusRecordType()
getEmfPlusRecordType
in interface HemfPlusRecord
public int getFlags()
getFlags
in interface HemfPlusMisc.EmfPlusObjectId
getFlags
in interface HemfPlusRecord
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
leis
- the little endian input streamdataSize
- the size limit for this recordrecordId
- the id of the HemfPlusRecordType
flags
- the record flagsjava.io.IOException
- when the inputstream is malformedpublic void draw(HemfGraphics ctx)
HemfPlusRecord
draw
in interface HemfPlusRecord
ctx
- the drawing contextpublic void applyObject(HwmfGraphics ctx)
applyObject
in interface HwmfObjectTableEntry
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.