def highlight(self, *args):
        """ Highlights the region with a colored frame. Accepts the following parameters:

        highlight([toEnable], [seconds], [color])
        
        * toEnable (boolean): Enables or disables the overlay
        * seconds (number): Seconds to show overlay
        * color (string): Hex code ("#XXXXXX") or color name ("black")
        """
        toEnable = (self._highlighter is None)
        seconds = 3
        color = "red"
        if len(args) > 3:
            raise TypeError("Unrecognized argument(s) for highlight()")
        for arg in args:
            if type(arg) == bool:
                toEnable = arg
            elif isinstance(arg, Number):
                seconds = arg
            elif isinstance(arg, basestring):
                color = arg
        if self._highlighter is not None:
                self._highlighter.close()
        if toEnable:
            self._highlighter = PlatformManager.highlight((self.getX(), self.getY(), self.getW(), self.getH()), color, seconds)
Highlights the region with a colored frame. Accepts the following parameters:

        highlight([toEnable], [seconds], [color])
        
        * toEnable (boolean): Enables or disables the overlay
        * seconds (number): Seconds to show overlay
        * color (string): Hex code ("#XXXXXX") or color name ("black")