mapping Input Range
Defines a mapping for values within the given input range. This method call should be immediately followed by .toOutputRange
, eg mappingInputRange(1,
2).toOutputRange(3, 4)
, which will return the unit builder for continued chaining.
Return
a builder object used to define the output range
Parameters
min Base
the minimum input value (does not have to be absolute)
max Base
the maximum output value (does not have to be absolute)