org.freedesktop.cairo
public class Rectangle extends Object
Constructor Summary | |
---|---|
Rectangle(double x1, double y1, double x2, double y2)
Constructs a new Rectangle object defined by four bounding
coordinates, (x1, y1) and (x2, y2)
| |
Rectangle(Point upperLeft, Point lowerRight)
Constructs a new Rectangle object defined by two Point objects,
which specify the upper-left and lower-right coordinates of the
rectangle
| |
Rectangle()
Constructs a new Rectangle object with position and size
set to 0. | |
Rectangle(Rectangle r) |
Method Summary | |
---|---|
double | getHeight() |
double | getWidth() |
double | getX() |
double | getX1() |
double | getX2() |
double | getY() |
double | getY1() |
double | getY2() |
void | setHeight(double height) |
void | setOrigin(Point origin) |
void | setSize(Point size) |
void | setWidth(double width) |
void | setX(double x) |
void | setX1(double x1) |
void | setX2(double x2) |
void | setY(double y) |
void | setY1(double y1) |
void | setY2(double y2) |
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.
Constructs a new Rectangle object defined by four bounding coordinates, (x1, y1) and (x2, y2)Parameters: x1 x coordinate of the upper-left point of the rectangle y1 y coordinate of the upper-left point of the rectangle x2 x coordinate of the lower-right point of the rectangle y2 y coordinate of the lower-right point 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.
Constructs a new Rectangle object defined by two Point objects, which specify the upper-left and lower-right coordinates of the rectangleParameters: upperLeft x coordinate of the upper-left point of the rectangle lowerRight y coordinate of the lower-right point 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.
Constructs a new Rectangle object with position and size set to 0.Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle
Deprecated: This method is deprecated in favor of Rectangle. 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.
See Also: Rectangle