public class PathGeometry.CloseSegment extends PathGeometry.Vertex
_hasNormal, _normal
Constructor and Description |
---|
CloseSegment(int id)
Create a new close segment with the given ID
|
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(java.awt.geom.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(java.awt.geom.Point2D point)
setPoint
in class PathGeometry.Vertex
public void translate(double x, double y)
translate
in interface Site
translate
in class PathGeometry.Vertex