org.gnu.pango
public class Rectangle extends MemStruct
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may exist in java-gnome 4.0; look out for
org.gnome.pango.Rectangle
.
As this package was never fully implemented in java-gnome 2.x,
however, any new code written will have a considerably different
public API.
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. |
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Create a new rectangle with x=y=width=height=0.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Create a new rectangle with the given x, y, width and height parameters.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns height of the rectangle.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns width of the rectangle.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns X coordinate of the left side of the rectangle.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns Y coordinate of the the top side of the rectangle.