public static class HemfComment.EmfComment extends java.lang.Object implements HemfRecord, HwmfCharsetAware
| Constructor and Description |
|---|
EmfComment() |
| Modifier and Type | Method and Description |
|---|---|
void |
calcBounds(java.awt.geom.Rectangle2D window,
java.awt.geom.Rectangle2D viewport,
HemfGraphics.EmfRenderState[] renderState) |
void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HemfComment.EmfCommentData |
getCommentData() |
HemfRecordType |
getEmfRecordType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
void |
setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericRecordType, setHeadergetGenericChildrenpublic HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformedpublic HemfComment.EmfCommentData getCommentData()
public void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic void calcBounds(java.awt.geom.Rectangle2D window,
java.awt.geom.Rectangle2D viewport,
HemfGraphics.EmfRenderState[] renderState)
calcBounds in interface HemfRecordpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordpublic void setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider)
setCharsetProvider in interface HwmfCharsetAwareCopyright 2021 The Apache Software Foundation or its licensors, as applicable.