Class awt.WSFontMetrics
All Packages This Package Previous Next
Class awt.WSFontMetrics
java.lang.Object
|
+----awt.FontMetrics
|
+----awt.WSFontMetrics
-
public class
WSFontMetrics
-
extends FontMetrics
A font metrics object for a WServer font.
-
Version:
-
1.1 10 Apr 1995
-
Author:
-
Jim Graham
-
bytesWidth(byte[], int, int)
-
Return the width of the specified byte[] in this Font.
-
charWidth(int)
-
Return the width of the specified character in this Font.
-
charsWidth(char[], int, int)
-
Return the width of the specified char[] in this Font.
-
stringWidth(String)
-
Return the width of the specified string in this Font.
charWidth
public int charWidth(int ch)
-
Return the width of the specified character in this Font.
-
Overrides:
-
charWidth in class FontMetrics
stringWidth
public int stringWidth(String s)
-
Return the width of the specified string in this Font.
-
Overrides:
-
stringWidth in class FontMetrics
charsWidth
public int charsWidth(char data[],
int off,
int len)
-
Return the width of the specified char[] in this Font.
-
Overrides:
-
charsWidth in class FontMetrics
bytesWidth
public int bytesWidth(byte data[],
int off,
int len)
-
Return the width of the specified byte[] in this Font.
-
Overrides:
-
bytesWidth in class FontMetrics
All Packages This Package Previous Next