Lines Matching refs:x
22 readonly x: number,
38 this.x <= point.x &&
39 point.x <= this.x + this.w &&
46 const maxLeft = Math.max(this.x, other.x);
47 const minRight = Math.min(this.x + this.w, other.x + other.w);
57 this.x <= other.x &&
59 this.x + this.w >= other.x + other.w &&
66 this.x < other.x + other.w &&
67 other.x < this.x + this.w &&
71 let [x, y, w, h] = [this.x, this.y, this.w, this.h];
73 if (this.x < other.x) {
74 x = other.x;
79 if (this.x + this.w > other.x + other.w) {
86 return !new Rect(x, y, w, h).isEmpty();
93 const [x, y, w, h] = [this.x, this.y, this.w, this.h]; constant
95 x === -1 || y === -1 || x + w === -1 || y + h === -1;