@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
|
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 streamdataSize
- the size limit for this recordrecordId
- the id of the HemfPlusRecordType
flags
- the record flagsjava.io.IOException
- when the inputstream is malformeddefault void draw(HemfGraphics ctx)
ctx
- the drawing contextdefault void calcBounds(java.awt.geom.Rectangle2D window, java.awt.geom.Rectangle2D viewport, HemfGraphics.EmfRenderState[] renderState)
default HemfPlusRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.