Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.freedesktop.cairo.Rectangle
public class Rectangle
extends java.lang.Object
Constructor Summary | |
| |
| |
Method Summary | |
double | |
double |
|
double |
|
double | |
double |
|
double |
|
double | |
double |
|
void |
|
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public 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.
public Rectangle(double x1, double y1, double x2, 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 rectangley1
- y coordinate of the upper-left point of the rectanglex2
- x coordinate of the lower-right point of the rectangley2
- y coordinate of the lower-right point of the rectangle
public Rectangle(Point upperLeft, Point lowerRight)
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 rectangle
- Parameters:
upperLeft
- x coordinate of the upper-left point of the rectanglelowerRight
- y coordinate of the lower-right point of the rectangle
public double getHeight()
public double getWidth()
public double getX()
public double getX1()
Deprecated. This method is deprecated in favor of
getX()
.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:
getX()
public double getX2()
Deprecated. This method is deprecated in favor of
getWidth()
.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:
getWidth()
public double getY()
public double getY1()
Deprecated. This method is deprecated in favor of
getY()
.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:
getY()
public double getY2()
Deprecated. This method is deprecated in favor of
getHeight()
.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:
getHeight()
public void setHeight(double height)
public void setWidth(double width)
public void setX(double x)
public void setX1(double x1)
Deprecated. This method is deprecated in favor of
setX(double)
.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:
setX(double)
public void setX2(double x2)
Deprecated. This method is deprecated in favor of
setWidth(double)
.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:
setWidth(double)
public void setY(double y)
public void setY1(double y1)
Deprecated. This method is deprecated in favor of
setY(double)
.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:
setY(double)
public void setY2(double y2)
Deprecated. This method is deprecated in favor of
setHeight(double)
.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:
setHeight(double)