The difference between the start
and end
values.
Attempts to set this to a negative value will result in an error being thrown.
The value which the range ends at.
Attempts to set this to a value less than start
will result in an error being thrown.
The value which the range starts at.
Attempts to set this to a value greater than end
will result in an error being thrown.
Accepts a value and returns what percentage of the way into the range that the value is.
The returned value can be negative, or greater than 100%, if the passed in value is less than the range start, or greater than the range end.
The value to compare against the range.
Generated using TypeDoc
The Range class represents a one-dimensional range, going from some start value to some end value.
Within the rest of the shimi architecture, this is most often used as a way to represent some range of time.