|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.batik.transcoder.wmf.tosvg.WMFUtilities
This class holds various utilies for importing WMF files that can be used either for
AbstractWMFReader
s and
AbstractWMFPainter
s
Constructor Summary | |
WMFUtilities()
|
Method Summary | |
static 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 Alignement for the Alignment property. |
static int |
getVerticalAlignment(int align)
Get the Vertical Alignement for the Alignment property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WMFUtilities()
Method Detail |
public static 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)
public static int getVerticalAlignment(int align)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |