Class Overview
Some utility methods for Line2D objects.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
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.