Class PointLocator

java.lang.Object
org.jhotdraw8.draw.locator.AbstractLocator
org.jhotdraw8.draw.locator.PointLocator
All Implemented Interfaces:
Locator

public class PointLocator extends AbstractLocator
A Locator which locates a node on a point of a Figure.
Author:
Werner Randelshofer
  • Constructor Details

  • Method Details

    • locate

      public @NonNull javafx.geometry.Point2D locate(@NonNull Figure owner)
      Description copied from interface: Locator
      Locates a position on the provided figure.
      Parameters:
      owner - provided figure
      Returns:
      a point on the figure in local coordinates.