org.jfree.chart.util
public class LineUtilities extends java.lang.Object
Line2D
objects.Constructor and Description |
---|
LineUtilities() |
Modifier and Type | Method and Description |
---|---|
static boolean |
clipLine(java.awt.geom.Line2D line,
java.awt.geom.Rectangle2D rect)
Clips the specified line to the given rectangle.
|
public LineUtilities()
public static boolean clipLine(java.awt.geom.Line2D line, java.awt.geom.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 © 2000-2009 by Object Refinery Limited. All Rights Reserved.