|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.pango.Rectangle
public class Rectangle
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.
| Constructor Summary | |
|---|---|
Rectangle()
Create a new rectangle with x=y=width=height=0. |
|
Rectangle(int x,
int y,
int width,
int height)
Create a new rectangle with the given x, y, width and height parameters. |
|
| 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.MemStruct |
|---|
getMemStructFromHandle |
| Methods inherited from class org.gnu.glib.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rectangle()
public Rectangle(int x,
int y,
int width,
int height)
| Method Detail |
|---|
public int getX()
public int getY()
public int getWidth()
public int getHeight()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||