gnu.x11
Class Fontable.FontReply.CharInfo

java.lang.Object
  extended by gnu.x11.Fontable.FontReply.CharInfo
Enclosing class:
Fontable.FontReply

public class Fontable.FontReply.CharInfo
extends java.lang.Object

Encapsulates information about one character.


Field Summary
static int SIZE
          The number of bytes that an object of that type takes up in the data buffer.
 
Method Summary
 int ascent()
          Returns the ascent of the character.
 int attributes()
          Returns the attributes of the character.
 int character_width()
          Returns the width of the character.
 int descent()
          Returns the descent of the character.
 int left_side_bearing()
          Returns the left_side_bearing of the character.
 int right_side_bearing()
          Returns the right-side-bearing of the character.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
The number of bytes that an object of that type takes up in the data buffer.

See Also:
Constant Field Values
Method Detail

left_side_bearing

public int left_side_bearing()
Returns the left_side_bearing of the character.

Returns:
the left_side_bearing of the character

right_side_bearing

public int right_side_bearing()
Returns the right-side-bearing of the character.

Returns:
the right-side-bearing of the character

character_width

public int character_width()
Returns the width of the character.

Returns:
the width of the character

ascent

public int ascent()
Returns the ascent of the character.

Returns:
the ascent of the character

descent

public int descent()
Returns the descent of the character.

Returns:
the descent of the character

attributes

public int attributes()
Returns the attributes of the character.

Returns:
the attributes of the character