(x, relative)
| 690 | } |
| 691 | } |
| 692 | translateX(x, relative) { |
| 693 | if (x !== undefined) { |
| 694 | x = this.isImperialUnits() ? in2mm(x) : x; |
| 695 | } |
| 696 | if (relative === undefined) { |
| 697 | relative = this.isRelativeDistance(); |
| 698 | } |
| 699 | return translatePosition(this.position.x, x, !!relative); |
| 700 | } |
| 701 | translateY(y, relative) { |
| 702 | if (y !== undefined) { |
| 703 | y = this.isImperialUnits() ? in2mm(y) : y; |
no test coverage detected