public static class HwmfText.WmfTextOut extends java.lang.Object implements HwmfRecord, HwmfCharsetAware
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Supplier<java.nio.charset.Charset> |
charsetProvider |
protected java.awt.geom.Point2D |
reference |
| Constructor and Description |
|---|
WmfTextOut() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.lang.String |
getText(java.nio.charset.Charset charset) |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
void |
setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericRecordTypegetGenericChildrenprotected java.awt.geom.Point2D reference
protected java.util.function.Supplier<java.nio.charset.Charset> charsetProvider
public HwmfRecordType getWmfRecordType()
getWmfRecordType in interface HwmfRecordpublic int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamjava.io.IOExceptionpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifypublic java.lang.String getText(java.nio.charset.Charset charset)
public 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.