public class PathGeometry.Vertex extends AbstractSite
| Modifier and Type | Method and Description |
|---|---|
int |
getControlPoint()
Get the control point of this site.
|
Figure |
getFigure()
Get the figure to which this site is attached, or null
if it is not attached to a figure.
|
int |
getID()
Get the ID of this site.
|
double |
getX()
Get the x-coordinate of the site, in the local
coordinates of the containing pane.
|
double |
getY()
Get the y-coordinate of the site, in the local
coordinates of the containing pane.
|
void |
setPoint(Point2D point)
Set the point location of the site
|
String |
toString()
Describe this site
|
void |
translate(double x,
double y)
Translate the site by the indicated distance.
|
getNormal, getPoint, getPoint, getPoint, getPoint, getTransformContext, hasNormal, isNormal, setNormalpublic int getID()
getID in interface SitegetID in class AbstractSitepublic int getControlPoint()
public Figure getFigure()
getFigure in interface SitegetFigure in class AbstractSitepublic double getX()
getX in interface SitegetX in class AbstractSitepublic double getY()
getY in interface SitegetY in class AbstractSitepublic void setPoint(Point2D point)
public void translate(double x,
double y)
translate in interface Sitetranslate in class AbstractSiteCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.