| Constructor and Description |
|---|
LineUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
clipLine(Line2D line,
Rectangle2D rect)
Clips the specified line to the given rectangle.
|
public static boolean clipLine(Line2D line, Rectangle2D rect)
line - the line (null not permitted).rect - the clipping rectangle (null not permitted).true if the clipped line is visible, and
false otherwise.Copyright © 2001-2014 JFree.org. All Rights Reserved.