Module ij
Package ij.plugin

Class Selection

  • All Implemented Interfaces:
    Measurements, PlugIn

    public class Selection
    extends java.lang.Object
    implements PlugIn, Measurements
    This plugin implements the commands in the Edit/Selection submenu.
    • Constructor Detail

      • Selection

        public Selection()
    • Method Detail

      • run

        public void run​(java.lang.String arg)
        Description copied from interface: PlugIn
        This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
        Specified by:
        run in interface PlugIn
      • lineToArea

        public static Roi lineToArea​(Roi roi)
        Converts a line selection into an area selection.