1 |
/* Rectangle2D.java -- generic rectangles in 2-D space |
/* Rectangle2D.java -- generic rectangles in 2-D space |
2 |
Copyright (C) 2000, 2001, 2002 Free Software Foundation |
Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
57 |
public abstract class Rectangle2D extends RectangularShape |
public abstract class Rectangle2D extends RectangularShape |
58 |
{ |
{ |
59 |
/** |
/** |
60 |
* The point lies left of the rectangle (p.x < r.x). |
* The point lies left of the rectangle (p.x < r.x). |
61 |
* |
* |
62 |
* @see #outcode() |
* @see #outcode(double, double) |
63 |
*/ |
*/ |
64 |
public static final int OUT_LEFT = 1; |
public static final int OUT_LEFT = 1; |
65 |
|
|
66 |
/** |
/** |
67 |
* The point lies above the rectangle (p.y < r.y). |
* The point lies above the rectangle (p.y < r.y). |
68 |
* |
* |
69 |
* @see #outcode() |
* @see #outcode(double, double) |
70 |
*/ |
*/ |
71 |
public static final int OUT_TOP = 2; |
public static final int OUT_TOP = 2; |
72 |
|
|
73 |
/** |
/** |
74 |
* The point lies right of the rectangle (p.x > r.maxX). |
* The point lies right of the rectangle (p.x > r.maxX). |
75 |
* |
* |
76 |
* @see #outcode() |
* @see #outcode(double, double) |
77 |
*/ |
*/ |
78 |
public static final int OUT_RIGHT = 4; |
public static final int OUT_RIGHT = 4; |
79 |
|
|
80 |
/** |
/** |
81 |
* The point lies below of the rectangle (p.y > r.maxY). |
* The point lies below of the rectangle (p.y > r.maxY). |
82 |
* |
* |
83 |
* @see #outcode() |
* @see #outcode(double, double) |
84 |
*/ |
*/ |
85 |
public static final int OUT_BOTTOM = 8; |
public static final int OUT_BOTTOM = 8; |
86 |
|
|