Searched refs:toRange (Results 1 – 2 of 2) sorted by relevance
27 const toRange = { constant33 toRange,41 expect(transformer.transform(fromRange.from)).toBe(toRange.from);42 expect(transformer.transform(fromRange.to)).toBe(toRange.to);48 ).toBe(toRange.from + (toRange.to - toRange.from) / 2);53 ).toBe(toRange.from + (toRange.to - toRange.from) / 4);58 ).toBe(toRange.from + (toRange.to - toRange.from) / 20);64 ).toBe(toRange.from - (toRange.to - toRange.from) / 2);69 ).toBe(toRange.to + (toRange.to - toRange.from) / 2);77 const toRange = { constant[all …]
30 private toRange: Segment, property in Transformer36 this.targetWidth = Math.round(this.toRange.to - this.toRange.from);40 this.toOffset = this.toRange.from;