Package CH.ifa.draw.framework

Examples of CH.ifa.draw.framework.Handle


   * @param y Document coordinates
   * @return The hit handle or null if no handle is found
   */
  public Handle findHandle(final int x, final int y)
  {
    Handle handle;

    Enumeration k = selectionHandles();

    while (k.hasMoreElements())
    {
      handle = (Handle) k.nextElement();

      if (handle.containsPoint(x, y))
        return handle;
    }

    return null;
  }
View Full Code Here

TOP

Related Classes of CH.ifa.draw.framework.Handle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.