parameters: (self, value)
docstring: Set state of constrain to axis mode.
docstring_summary: Set state of constrain to axis mode.
docstring_tokens: Set state of constrain to axis mode .
function: def constrain(self, value):
          """Set state of constrain to axis mode."""
          self._constrain = bool(value)
function_tokens: def constrain ( self , value ) : self . _constrain = bool ( value )