public final class RectangleUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OUT_BOTTOM
The bitmask that indicates that a point lies below this
Rectangle2D. |
static int |
OUT_LEFT
The bitmask that indicates that a point lies to the left of this
Rectangle2D. |
static int |
OUT_RIGHT
The bitmask that indicates that a point lies to the right of this
Rectangle2D. |
static int |
OUT_TOP
The bitmask that indicates that a point lies above this
Rectangle2D. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
rectangleIntersectsLine(double rectX,
double rectY,
double rectWidth,
double rectHeight,
double x1,
double y1,
double x2,
double y2) |
public static final int OUT_LEFT
Rectangle2D.public static final int OUT_TOP
Rectangle2D.public static final int OUT_RIGHT
Rectangle2D.public static final int OUT_BOTTOM
Rectangle2D.Copyright © 2013–2023. All rights reserved.