Package com.structurizr.view
Class Vertex
java.lang.Object
com.structurizr.view.Vertex
The X, Y coordinate of a bend in a line.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Vertex
public Vertex(int x, int y)
-
-
Method Details
-
getX
public int getX()Gets the horizontal position of the vertex when rendered.- Returns:
- the X coordinate, as an int
-
setX
public void setX(int x) -
getY
public int getY()Gets the vertical position of the vertex when rendered.- Returns:
- the Y coordinate, as an int
-
setY
public void setY(int y) -
equals
-
hashCode
public int hashCode()
-