Class PolylineData


  • public class PolylineData
    extends ShapeData
    Represents an Polyline shape in the Euclidean space R2.
    Since:
    3.0-Beta4
    • Constructor Detail

      • PolylineData

        public PolylineData​(omero.model.Shape shape)
        Creates a new instance.
        Parameters:
        shape - The shape this object represents.
      • PolylineData

        public PolylineData()
        Creates a new instance of polyline, creating a new PolylineI Object.
      • PolylineData

        public PolylineData​(java.util.List<java.awt.geom.Point2D.Double> points)
        Create a new instance of the PolylineData, set the points in the polyline.
        Parameters:
        points - See Above.
    • 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.
      • getPoints

        public java.util.List<java.awt.geom.Point2D.Double> getPoints()
        Returns the points in the Polyline.
        Returns:
        See above.
      • setPoints

        public void setPoints​(java.util.List<java.awt.geom.Point2D.Double> points)
        Sets the points in the polyline.
        Parameters:
        points - The points to set.