Package fr.igred.omero.roi
Interface Punctual
-
- All Known Implementing Classes:
PointWrapper,TextWrapper
public interface PunctualInterface for punctual shapes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default double[]getCoordinates()Gets the coordinates of the punctual shape.doublegetX()Returns the x-coordinate of the punctual shape.doublegetY()Returns the y coordinate of the punctual shape.default voidsetCoordinates(double[] coordinates)Sets the coordinates of the punctual shape.default voidsetCoordinates(double x, double y)Sets the coordinates the punctual shape.voidsetX(double x)Sets the x-coordinate of the punctual shape.voidsetY(double y)Sets the y-coordinate of the punctual shape.
-
-
-
Method Detail
-
getX
double getX()
Returns the x-coordinate of the punctual shape.- Returns:
- See above.
-
setX
void setX(double x)
Sets the x-coordinate of the punctual shape.- Parameters:
x- See above.
-
getY
double getY()
Returns the y coordinate of the punctual shape.- Returns:
- See above.
-
setY
void setY(double y)
Sets the y-coordinate of the punctual shape.- Parameters:
y- See above.
-
setCoordinates
default void setCoordinates(double x, double y)Sets the coordinates the punctual shape.- Parameters:
x- x-coordinate of the PointData shape.y- y-coordinate of the PointData shape.
-
getCoordinates
default double[] getCoordinates()
Gets the coordinates of the punctual shape.- Returns:
- Array of coordinates containing {X,Y}.
-
setCoordinates
default void setCoordinates(double[] coordinates)
Sets the coordinates of the punctual shape.- Parameters:
coordinates- Array of coordinates containing {X,Y}.
-
-