@Internal public interface HemfRecord extends GenericRecord
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HemfRecord.RenderBounds |
| Modifier and Type | Method and Description |
|---|---|
default void |
calcBounds(HemfRecord.RenderBounds holder) |
default void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HemfRecordType |
getEmfRecordType() |
default HemfRecordType |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
default void |
setHeader(HemfHeader header)
Sets the header reference, in case the record needs to refer to it
|
getGenericChildren, getGenericPropertiesHemfRecordType getEmfRecordType()
long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
leis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformeddefault void draw(HemfGraphics ctx)
ctx - the drawing contextdefault void calcBounds(HemfRecord.RenderBounds holder)
default void setHeader(HemfHeader header)
header - the emf headerdefault HemfRecordType getGenericRecordType()
getGenericRecordType in interface GenericRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.