public abstract class LayoutPath extends Object
Point2D ,其中x是advance,y是偏移量。 
      | Constructor and Description | 
|---|
| LayoutPath() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | pathToPoint(Point2D location, boolean preceding, Point2D point)
              将相对于路径的位置转换为用户坐标中的某个点。 
             | 
| abstract boolean | pointToPath(Point2D point, Point2D location)
              将用户空间中的点转换为相对于路径的位置。 
             | 
public abstract boolean pointToPath(Point2D point, Point2D location)
point - 转换点。 
            如果它不是与位置相同的对象,则该调用将保持未修改。 
           location - a Point2D保留返回的位置。 
            它可以是与点相同的对象。 
           NullPointerException - 如果点或位置为空 
           public abstract void pathToPoint(Point2D location, boolean preceding, Point2D point)
location -一个Point2D表示相对于路径的位置的前进(在x)和偏移(沿y)。 
            如果位置与点不同,则该调用将保持未修改的位置。 
           preceding - 如果为真,应使用提前前的部分,如果假,则应使用以后的部分。 
            如果路径没有突破或急速弯曲,则这无效果。 
           point - 一个Point2D保存返回点。 
            它可以是与位置相同的对象。 
           NullPointerException - 如果位置或点为空 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.