org.gnu.pango
Class Rectangle

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.pango.Rectangle

public class Rectangle
extends Boxed

The PangoRectangle structure represents a rectangle. It is frequently used to represent the logical or ink extents of a single glyph or section of text.


Method Summary
 int getHeight()
          Returns height of the rectangle.
 int getWidth()
          Returns width of the rectangle.
 int getX()
          Returns X coordinate of the left side of the rectangle.
 int getY()
          Returns Y coordinate of the the top side of the rectangle.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getX

public int getX()
Returns X coordinate of the left side of the rectangle.


getY

public int getY()
Returns Y coordinate of the the top side of the rectangle.


getWidth

public int getWidth()
Returns width of the rectangle.


getHeight

public int getHeight()
Returns height of the rectangle.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net