public class WMFUtilities
extends java.lang.Object
AbstractWMFReaders and
AbstractWMFPainters| Constructor and Description |
|---|
WMFUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
decodeString(WMFFont wmfFont,
byte[] bstr)
Decode a byte array in a string, using the charset of the given font.
|
static int |
getHorizontalAlignment(int align)
Get the Horizontal Alignment for the Alignment property.
|
static int |
getVerticalAlignment(int align)
Get the Vertical Alignment for the Alignment property.
|
public static java.lang.String decodeString(WMFFont wmfFont, byte[] bstr)
wmfFont - the font to use the charset of.bstr - the encoded bytes of the string.public static int getHorizontalAlignment(int align)
align - combined alignment constantpublic static int getVerticalAlignment(int align)
align - combined alignment constant