Home | History | Annotate | Download | only in first_run

Lines Matching refs:hole

88       this.rectangularHolePattern_ = $('rectangular-hole-pattern');
90 this.roundHolePattern_ = $('round-hole-pattern');
127 * Adds transparent rectangular hole to background.
128 * @param {number} x X coordinate of top-left corner of hole.
129 * @param {number} y Y coordinate of top-left corner of hole.
130 * @param {number} widht Width of hole.
131 * @param {number} height Height of hole.
134 var hole = this.rectangularHolePattern_.cloneNode();
135 hole.setAttribute('x', x);
136 hole.setAttribute('y', y);
137 hole.setAttribute('width', width);
138 hole.setAttribute('height', height);
139 this.mask_.appendChild(hole);
141 changeVisibility(hole, true);
146 * Adds transparent round hole to background.
152 var hole = this.roundHolePattern_.cloneNode();
153 hole.setAttribute('cx', x);
154 hole.setAttribute('cy', y);
155 hole.setAttribute('r', radius);
156 this.mask_.appendChild(hole);
158 changeVisibility(hole, true);
170 mask.getElementsByClassName('hole'));
177 holes.forEach(function(hole) {
178 changeVisibility(hole, false, this.getDefaultTransitionDuration(),
180 mask.removeChild(hole);