Lines Matching full:pan
14 …pan-zoom-control { cursor: pointer; fill: black; fill-opacity: 0.333; } .svg-pan-zoom-control:hove…
19 zoomGroup.setAttribute('id', 'svg-pan-zoom-controls');
21 zoomGroup.setAttribute('class', 'svg-pan-zoom-control');
37 zoomIn.setAttribute('id', 'svg-pan-zoom-zoom-in');
39 zoomIn.setAttribute('class', 'svg-pan-zoom-control');
47 zoomInBackground.setAttribute('class', 'svg-pan-zoom-control-background');
52 zoomInShape.setAttribute('class', 'svg-pan-zoom-control-element');
61 resetPanZoomControl.setAttribute('id', 'svg-pan-zoom-reset-pan-zoom');
63 resetPanZoomControl.setAttribute('class', 'svg-pan-zoom-control');
71 resetPanZoomControlBackground.setAttribute('class', 'svg-pan-zoom-control-background');
76 resetPanZoomControlShape1.setAttribute('class', 'svg-pan-zoom-control-element');
81 resetPanZoomControlShape2.setAttribute('class', 'svg-pan-zoom-control-element');
90 zoomOut.setAttribute('id', 'svg-pan-zoom-zoom-out');
92 zoomOut.setAttribute('class', 'svg-pan-zoom-control');
100 zoomOutBackground.setAttribute('class', 'svg-pan-zoom-control-background');
105 zoomOutShape.setAttribute('class', 'svg-pan-zoom-control-element');
158 // NOTE: clientX and clientY are not in Mozilla example, but are needed for svg-pan-zoom
207 …insert icons to give user an option in addition to mouse events to control pan/zoom (default disab…
237 // Create zoom and pan cache
293 // Cache pan level
508 this.getPublicInstance().pan({x: this.initialCTM.e, y: this.initialCTM.f})
513 // Cache pan level
533 if (this.state === 'pan' && this.options.panEnabled) {
539 // Pan mode
545 // Cache pan level
580 if (targetClass.indexOf('svg-pan-zoom-control') > -1) {
617 …if (evt.target.tagName === 'svg' || !this.options.dragEnabled) { // Pan anyway when drag is disabl…
618 // Pan mode
619 this.state = 'pan'
645 if (this.state === 'pan' || this.state === 'drag') {
646 // Quit pan mode
668 * Adjust viewport pan (only) so it will be centered in SVG
681 this.getPublicInstance().pan({x: offsetX, y: offsetY})
685 * Pan to a rendered position
689 SvgPanZoom.prototype.pan = function(point) {
700 // Cache pan level
709 * Relatively pan the graph by a specified rendered position vector
724 // Cache pan level
733 * Get pan vector
752 // Pan
756 , pan: function(point) {that.pan(point)}
759 // Pan event