PyMML Color

This is the PyMML Color class.

class mmlcolor.Color(MC, cli)

The Color class.

find(box, color, tol=0)
find a color in a box, with a specific tolerance. returns a tuple of the x, y value of a matched color. None if no color was found.
findAll(box, color, tol=0)
find all colors in a box, with a specific tolerance. returned are all the matching points

Previous topic

PyMML Mouse

This Page