Package fr.igred.omero.roi
Interface Punctual
-
- All Known Implementing Classes:
PointWrapper
,TextWrapper
public interface Punctual
Interface 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.double
getX()
Returns the x-coordinate of the punctual shape.double
getY()
Returns the y coordinate of the punctual shape.default void
setCoordinates(double[] coordinates)
Sets the coordinates of the punctual shape.default void
setCoordinates(double x, double y)
Sets the coordinates the punctual shape.void
setX(double x)
Sets the x-coordinate of the punctual shape.void
setY(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}.
-
-