(self, value)
Set Endpoint
Set Endpoint
Set Endpoint
def end(self, value):
        """ Set Endpoint
        """
        if not self.active:
            self._start = self._end = value
            return
        self._end = int(max(value, self.start))
        self._start = int(min(value, self.start))
def end ( self , value ) : if not self . active : self . _start = self . _end = value return self . _end = int ( max ( value , self . start ) ) self . _start = int ( min ( value , self . start ) )