Class TooltipExtentCircular

java.lang.Object
net.messagevortex.router.TooltipExtent
net.messagevortex.router.TooltipExtentCircular

public class TooltipExtentCircular extends TooltipExtent

Extent with a circular shape.

  • Constructor Details

    • TooltipExtentCircular

      public TooltipExtentCircular(Ellipse2D circle)

      Creates an extent with a circular shape.

      Parameters:
      circle - the circle representing the shape
  • Method Details

    • isInExtent

      public boolean isInExtent(Point p)
      Description copied from class: TooltipExtent

      Returns true if the given point is within the extent.

      Specified by:
      isInExtent in class TooltipExtent
      Parameters:
      p - the point to be tested
      Returns:
      true if the point lies within the extent