(self, value)
Set state of constrain to axis mode.
Set state of constrain to axis mode.
Set state of constrain to axis mode .
def constrain(self, value):
        """Set state of constrain to axis mode."""
        self._constrain = bool(value)
def constrain ( self , value ) : self . _constrain = bool ( value )