public class PathGeometry.CloseSegment extends PathGeometry.Vertex
Modifier and Type | Method and Description |
---|---|
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
|
void |
translate(double x,
double y)
Translate the site by the indicated distance.
|
getControlPoint, getFigure, getID, toString
getNormal, getPoint, getPoint, getPoint, getPoint, getTransformContext, hasNormal, isNormal, setNormal
public double getX()
getX
in interface Site
getX
in class PathGeometry.Vertex
public double getY()
getY
in interface Site
getY
in class PathGeometry.Vertex
public void setPoint(Point2D point)
setPoint
in class PathGeometry.Vertex
public void translate(double x, double y)
translate
in interface Site
translate
in class PathGeometry.Vertex
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.