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, wait
getGenericRecordType
getGenericChildren
protected java.awt.geom.Point2D reference
protected java.util.function.Supplier<java.nio.charset.Charset> charsetProvider
public HwmfRecordType getWmfRecordType()
getWmfRecordType
in interface HwmfRecord
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface HwmfRecord
leis
- the little endian input streamjava.io.IOException
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- 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 GenericRecord
public void setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider)
setCharsetProvider
in interface HwmfCharsetAware
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.