Class OvalRoi

java.lang.Object
org.micromanager.ndviewer.overlay.Roi
org.micromanager.ndviewer.overlay.OvalRoi
All Implemented Interfaces:
Serializable, Cloneable

public class OvalRoi
extends Roi
Oval region of interest
See Also:
Serialized Form
  • Constructor Details

    • OvalRoi

      public OvalRoi​(int x, int y, int width, int height)
      Creates an OvalRoi.
    • OvalRoi

      public OvalRoi​(double x, double y, double width, double height)
      Creates an OvalRoi using double arguments.
  • Method Details

    • draw

      public void draw​(Graphics g)
      Overrides:
      draw in class Roi
    • contains

      public boolean contains​(int ox, int oy)
      Tests if the specified point is inside the boundary of this OvalRoi. Authors: Barry DeZonia and Michael Schmid
      Overrides:
      contains in class Roi