Class PolylineWrapper


  • public class PolylineWrapper
    extends GenericShapeWrapper<PolylineData>
    Class containing an PolylineData.

    Wraps function calls to the PolylineData contained.

    • 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

      • 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.