Your best bet is to create your own ScreenRegion
implementation. Replace DesktopScreenRegion
by an ImageScreenRegion
which implements ScreenRegion
.
ScreenRegion
interface is pretty limited in terms of external classes implementations. It seems you'll just have to implement an ImageScreen
and an ImageScreenLocation
(easy as pie)
Look at the SreenRegion
sources