Class LineUtilities
java.lang.Object
org.jfree.chart.util.LineUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanclipLine(Line2D line, Rectangle2D rect) Clips the specified line to the given rectangle.
-
Constructor Details
-
LineUtilities
public LineUtilities()
-
-
Method Details
-
clipLine
Clips the specified line to the given rectangle.- Parameters:
line- the line (nullnot permitted).rect- the clipping rectangle (nullnot permitted).- Returns:
trueif the clipped line is visible, andfalseotherwise.
-