Class PolylineWrapper

    • Constructor Detail

      • PolylineWrapper

        public PolylineWrapper​(PolylineData polyline)
        Constructor of the PolylineWrapper class using a PolylineData.
        Parameters:
        polyline - The PolylineData to wrap.
      • PolylineWrapper

        public PolylineWrapper()
        Constructor of the RectangleWrapper class using a new empty LineData.
      • PolylineWrapper

        public PolylineWrapper​(Roi ijRoi)
        Constructor of the PolylineWrapper class using an ImageJ PolygonRoi.
        Parameters:
        ijRoi - An ImageJ ROI.
      • PolylineWrapper

        public PolylineWrapper​(java.util.List<java.awt.geom.Point2D.Double> points)
        Constructor of the RectangleWrapper class using a new LineData.
        Parameters:
        points - the points in the polyline.
    • Method Detail

      • getText

        public java.lang.String getText()
        Gets the text on the ShapeData.
        Specified by:
        getText in interface Shape
        Returns:
        the text
      • setText

        public void setText​(java.lang.String text)
        Sets the text on the ShapeData.
        Specified by:
        setText in interface Shape
        Parameters:
        text - the text
      • getPoints

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

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