Module ij
Package ij.plugin

Class ScaleBar

  • All Implemented Interfaces:
    PlugIn

    public class ScaleBar
    extends java.lang.Object
    implements PlugIn
    This plugin implements the Analyze/Tools/Scale Bar command. Divakar Ramachandran added options to draw a background and use a serif font on 23 April 2006. Remi Berthoz added an option to draw vertical scale bars on 17 September 2021.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScaleBar()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(java.lang.String arg)
      This method is called when the plugin is loaded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScaleBar

        public ScaleBar()
    • Method Detail

      • run

        public void run​(java.lang.String arg)
        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