public static class HwmfText.WmfExtTextOut extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.Rectangle2D |
bounds
An optional 8-byte Rect Object (section 2.2.2.18) that defines the
dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
|
protected java.util.List<java.lang.Integer> |
dx
An optional array of 16-bit signed integers that indicate the distance between
origins of adjacent character cells.
|
protected HwmfText.WmfExtTextOutOptions |
options
A 16-bit unsigned integer that defines the use of the application-defined
rectangle.
|
protected byte[] |
rawTextBytes
A variable-length string that specifies the text to be drawn.
|
protected java.awt.geom.Point2D |
reference
The location, in logical units, where the text string is to be placed.
|
protected int |
stringLength
A 16-bit signed integer that defines the length of the string.
|
Modifier | Constructor and Description |
---|---|
|
WmfExtTextOut() |
protected |
WmfExtTextOut(HwmfText.WmfExtTextOutOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.awt.geom.Rectangle2D |
getBounds() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.awt.geom.Point2D |
getReference() |
java.lang.String |
getText(java.nio.charset.Charset charset) |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
protected boolean |
isUnicode() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericRecordType
getGenericChildren
protected final java.awt.geom.Point2D reference
protected int stringLength
protected final HwmfText.WmfExtTextOutOptions options
protected final java.awt.geom.Rectangle2D bounds
protected byte[] rawTextBytes
protected final java.util.List<java.lang.Integer> dx
public WmfExtTextOut()
protected WmfExtTextOut(HwmfText.WmfExtTextOutOptions options)
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) throws java.io.IOException
java.io.IOException
public java.awt.geom.Point2D getReference()
public java.awt.geom.Rectangle2D getBounds()
protected boolean isUnicode()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.