Package ro.sync.exml.view.graphics
Class BaseShape
- java.lang.Object
-
- ro.sync.exml.view.graphics.BaseShape
-
-
Constructor Summary
Constructors Constructor Description BaseShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(int x, int y, int w, int h)
Check if the specified coordinates are inside the shape.
-
-
-
Method Detail
-
contains
public boolean contains(int x, int y, int w, int h)
Description copied from interface:Shape
Check if the specified coordinates are inside the shape.- Specified by:
contains
in interfaceShape
- Parameters:
x
- The horizontal coordinate.y
- The vertical coordinate.w
- The width.h
- The height.- Returns:
true
if the point is inside the shape.false
otherwise.- See Also:
Shape.contains(int, int, int, int)
-
-