org.sikuli.api
Class ForegroundTarget
java.lang.Object
org.sikuli.api.DefaultTarget
org.sikuli.api.ForegroundTarget
- All Implemented Interfaces:
- Target
public class ForegroundTarget
- extends DefaultTarget
- implements Target
The ForegroundTarget class defines targets based on whether they have
textures (as opposed to textureless background). This class can be used to distinguish between foreground targets and
the background target.
For example, if you have a solid black background image that contains a small white square, you can use
this ForegroundTarget class to find the white square in the black background image without having to specify the image of the
white square the target.
|
Constructor Summary |
ForegroundTarget()
Constructs a new ForegroundTarget with default values. |
ForegroundTarget
public ForegroundTarget()
- Constructs a new ForegroundTarget with default values.
Copyright © 2014. All rights reserved.