Class EndHandle

All Implemented Interfaces:
Serializable, Cloneable

public class EndHandle extends Handle
A Class representing a Handle at one of the two ends of a LineROI.
See Also:
  • Constructor Details

    • EndHandle

      public EndHandle(int x, int y, int size)
      Creates a new EndHandle at the location (x,y) with the given size in screen pixels.
      Parameters:
      x - the x location of the Handle in screen coords.
      y - the y location of the Handle in screen coords.
      size - the size of the Handle in screen pixels.
  • Method Details

    • draw

      public final void draw(Graphics g)
      Draws this Handle on the given Graphics context. Overrides the default draw method. Draw as a little cross shape with two lines.
      Overrides:
      draw in class Handle
      Parameters:
      g - the Graphics object on which the drawing operation is to be peformed.
    • toString

      public String toString()
      Description copied from class: Handle
      Returns a java.lang.String describing this Handle.
      Specified by:
      toString in class Handle
      Returns:
      a String describing this Handle.