Package net.messagevortex.router
Class TooltipExtentCircular
java.lang.Object
net.messagevortex.router.TooltipExtent
net.messagevortex.router.TooltipExtentCircular
Extent with a circular shape.
-
Constructor Summary
ConstructorsConstructorDescriptionTooltipExtentCircular(Ellipse2D circle) Creates an extent with a circular shape. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisInExtent(Point p) Returns true if the given point is within the extent.
-
Constructor Details
-
TooltipExtentCircular
Creates an extent with a circular shape.
- Parameters:
circle- the circle representing the shape
-
-
Method Details
-
isInExtent
Description copied from class:TooltipExtentReturns true if the given point is within the extent.
- Specified by:
isInExtentin classTooltipExtent- Parameters:
p- the point to be tested- Returns:
- true if the point lies within the extent
-