JHotDraw 7.1

org.jhotdraw.geom
Class Shapes

java.lang.Object
  extended by org.jhotdraw.geom.Shapes

public class Shapes
extends java.lang.Object

Shapes.

Version:
1.0 8. Mai 2007 Created.
Author:
Werner Randelshofer

Method Summary
static boolean outlineContains(java.awt.Shape shape, java.awt.geom.Point2D.Double p, double tolerance)
          Returns true, if the outline of this bezier path contains the specified point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

outlineContains

public static boolean outlineContains(java.awt.Shape shape,
                                      java.awt.geom.Point2D.Double p,
                                      double tolerance)
Returns true, if the outline of this bezier path contains the specified point.

Parameters:
p - The point to be tested.
tolerance - The tolerance for the test.

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.