org.formaria.svg
Interface HitTester

All Known Implementing Classes:
SvgPainter

public interface HitTester

An interface for hit testing

Copyright (c) Formaria 2008, see license.txt for more details


Method Summary
 boolean contains(int x, int y)
          Check to see if the coordinates are within the component's active area
 

Method Detail

contains

boolean contains(int x,
                 int y)
Check to see if the coordinates are within the component's active area

Parameters:
x - the x coordinate, in device coordinates
y - the y coordinate, in device coordinates
Returns:
true if the mouse/cursor is within the active area