public class TooltipExtentBox extends TooltipExtent
Extent with a rectangular shape.
Constructor and Description |
---|
TooltipExtentBox(Rectangle2D box)
Creates a new extent with a rectangular shape.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInExtent(Point p)
Returns true if the given point is within the extent.
|
public TooltipExtentBox(Rectangle2D box)
Creates a new extent with a rectangular shape.
box
- the box 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.