colour.NullInterpolator#

class colour.NullInterpolator(x: Any, y: Any, *args: Any, **kwargs: Any)[source]#

Bases: _DispatchingInterpolator

Implement 1-D function null interpolation.

Return the dependent value when the query matches a knot within tolerance, else the default value. absolute_tolerance, relative_tolerance and default are writable.

Parameters:
property absolute_tolerance: Any#

Getter and setter for the self.absolute_tolerance property.

property default: Any#

Getter and setter for the self.default property.

property dtype: Any#

Getter for the self.dtype property.

property relative_tolerance: Any#

Getter and setter for the self.relative_tolerance property.