Class s7sdk.event.ZoomRgnEvent
Dispatched by ZoomView and SpinView when the viewport rectangle changes.
Constructor Attributes | Constructor Name and Description |
---|---|
s7sdk.event.ZoomRgnEvent(type, zoomRgn, bubbles, cancelable)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
s7sdk.event.ZoomRgnEvent.NOTF_ZOOM_NRGN
Defines a value of the
type property of a notfZoomNRgn event object. |
<static> |
s7sdk.event.ZoomRgnEvent.NOTF_ZOOM_RGN
Defines a value of the
type property of a notfZoomRgn event object. |
Class Detail
s7sdk.event.ZoomRgnEvent(type, zoomRgn, bubbles, cancelable)
- Parameters:
- {String} type
- Defines the value of the type property.
- {s7sdk.Rectangle} zoomRgn
- Region to zoom to.
- {Boolean} bubbles
- Determines if the event should bubble.
- {Boolean} cancelable
- Determines if the event is cancelled.
Field Detail
<static>
s7sdk.event.ZoomRgnEvent.NOTF_ZOOM_NRGN
Defines a value of the
type
property of a notfZoomNRgn
event object.
The displacement values for this event are in component coordinates.
<static>
s7sdk.event.ZoomRgnEvent.NOTF_ZOOM_RGN
Defines a value of the
type
property of a notfZoomRgn
event object.
The image upper-left corner is at 0,0 and the lower-right corner is at 1,1.