org.jfree.chart.util
Class LineUtilities
java.lang.Object
org.jfree.chart.util.LineUtilities
public class LineUtilities
- extends Object
Some utility methods for Line2D
objects.
- Since:
- 1.0.12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineUtilities
public LineUtilities()
clipLine
public static boolean clipLine(Line2D line,
Rectangle2D rect)
- Clips the specified line to the given rectangle.
- Parameters:
line
- the line (null
not permitted).rect
- the clipping rectangle (null
not permitted).
- Returns:
true
if the clipped line is visible, and
false
otherwise.
Copyright © 2001-2012 JFree.org. All Rights Reserved.