public class TooltipExtentCircular extends TooltipExtent
Extent with a circular shape.
Constructor and Description |
---|
TooltipExtentCircular(Ellipse2D circle)
Creates an extent with a circular shape.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInExtent(Point p)
Returns true if the given point is within the extent.
|
public TooltipExtentCircular(Ellipse2D circle)
Creates an extent with a circular shape.
circle
- the circle representing the shapepublic boolean isInExtent(Point p)
TooltipExtent
Returns true if the given point is within the extent.
isInExtent
in class TooltipExtent
p
- the point to be testedCopyright © 2023. All rights reserved.