Class PointData


  • public class PointData
    extends ShapeData
    Represents a point in the Euclidean space R2.
    Since:
    3.0-Beta4
    • Constructor Detail

      • PointData

        public PointData​(omero.model.Shape shape)
        Creates a new instance.
        Parameters:
        shape - The shape to host.
      • PointData

        public PointData()
        Creates a new instance of PointData, creating a new pointI Object.
      • PointData

        public PointData​(double x,
                         double y)
        Create a new instance of the PointData,
        Parameters:
        x - x-coordinate of the shape.
        y - y-coordinate of the shape.
    • Method Detail

      • getText

        public java.lang.String getText()
        Returns the text of the shape.
        Returns:
        See above.
      • setText

        public void setText​(java.lang.String text)
        Sets the text of the shape.
        Parameters:
        text - See above.
      • getX

        public double getX()
        Returns the x-coordinate of the shape.
        Returns:
        See above.
      • setX

        public void setX​(double x)
        set the x-coordinate of the shape.
        Parameters:
        x - See above.
      • getY

        public double getY()
        Returns the y coordinate of the shape.
        Returns:
        See above.
      • setY

        public void setY​(double y)
        set the y-coordinate of the shape.
        Parameters:
        y - See above.