Lines Matching defs:location
45 * Convert a point in user space to a location relative to the
46 * path. The location is chosen so as to minimize the distance
48 * will be smallest). If there is more than one such location,
49 * the location with the smallest advance is chosen.
51 * object as location, point will remain unmodified by this call.
52 * @param location a <code>Point2D</code> to hold the returned location.
55 * path preceding the location, false if it is associated with
56 * the portion following. The default, if the location is not at
58 * @throws NullPointerException if point or location is null
61 public abstract boolean pointToPath(Point2D point, Point2D location);
64 * Convert a location relative to the path to a point in user
66 * the location's advance. If this is the case, the value of
68 * whose location and slope is to be used to interpret the offset.
69 * @param location a <code>Point2D</code> representing the advance (in x) and
70 * offset (in y) of a location relative to the path. If location
71 * is not the same object as point, location will remain
78 * the same object as location.
79 * @throws NullPointerException if location or point is null
82 public abstract void pathToPoint(Point2D location, boolean preceding,