Constructor and Description |
---|
BaseShape() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y,
int w,
int h)
Check if the specified coordinates are inside the shape.
|
public boolean contains(int x, int y, int w, int h)
Shape
contains
in interface Shape
x
- The horizontal coordinate.y
- The vertical coordinate.w
- The width.h
- The height.true
if the point is inside the shape. false
otherwise.Shape.contains(int, int, int, int)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.