JAVA Tech JAVA Technologies Co. Ltd. Marine Radio VERSION 3.0 Benutzerhandbuch

Seite von 88
 
 
49
49
49
49
 
 
setAreaZoom(true/false) 
 
E.g. ViewONE.setAreaZoom (true); 
 
If true, initiates the zoom-area mode. The mouse pointer changes to a cross and the user 
can drag the mouse (using button one) to select an area for zooming. When the mouse 
button is released the area selected will be zoomed as large as possible whilst maintaining 
the image aspect within the available window area. 
If the selected area is not greater than the zoom trigger size (currently 20*20 pixels) then 
zooming will not occur. This allows the user to release the mouse if the mode was initiated 
accidentally. 
If false, mouse functionality returns to drag mode (to pan the image).
 
 
isAreaZoom() 
 
E.g. var areaZoom = ViewONE.isAreaZoom(); 
 
Returns a Boolean value indicating the zoom-area status.  
 
toggleAreaZoom() 
 
E.g. ViewONE.toggleAreaZoom(); 
 
This toggles ViewONE zoom area mode. When in zoom area mode the cursor will change 
to a cross hair and the user can select an area to zoom using the cursor. When not in 
zoom area mode, the cursor can be used to drag/scroll the image. 
 
setMagnifier(true/false) 
 
E.g. ViewONE.setMagnifier(true); 
 
If true, displays an external magnifier window. A rectangle is visible around the mouse 
pointer which highlights the area being magnified. 
If false, the magnifier window is hidden. 
Method:
 
Method:
 
Method:
  
 
(V3-Only)
 
 
Method: