JHotDraw 7.4.1

org.jhotdraw.geom
Class Shapes

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

public class Shapes
extends java.lang.Object

Shapes.

Version:
$Id: Shapes.java 527 2009-06-07 14:28:19Z rawcoder $
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-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.