BoundMath

Math used by colored ranges. See TwoColoredRange for details.

Inheritors

Functions

Link copied to clipboard
abstract fun add(bound: BoundType, length: LengthType): BoundType

Returns bound + length.

Link copied to clipboard
abstract fun getLength(start: BoundType, endExclusive: BoundType): LengthType

Returns endExclusive - start.

Link copied to clipboard
abstract fun subtract(bound: BoundType, length: LengthType): BoundType

Returns bound - length.