Package ij.plugin

Class RoiRotator

  • All Implemented Interfaces:
    PlugIn

    public class RoiRotator
    extends Object
    implements PlugIn
    This plugin implements the Edit/Selection/Rotate command.
    • Constructor Detail

      • RoiRotator

        public RoiRotator()
    • Method Detail

      • run

        public void run​(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
      • showDialog

        public double showDialog​(double angle)
      • rotate

        public static Roi rotate​(Roi roi,
                                 double angle)
      • rotate

        public static Roi rotate​(Roi roi,
                                 double angle,
                                 double xcenter,
                                 double ycenter)