CameraViewBase.setCameraFocusPoint(x, y, cameraWidth, cameraHeight, isFocusLocked) Method (JS)
Set CameraFocusPoint
Returns a promise of nothing. Valid values are double x, double y, int cameraWidth, int cameraHeight and int isFocusLocked.
<CameraView ux:Name="Camera" />
<JavaScript>
Camera.setCameraFocusPoint(x, y, cameraWidth, cameraHeight, isFocusLocked)
.then(function(isSet) { })
.catch(function(error) { });
</JavaScript>
Location
- Namespace
- Fuse.Controls
- Package
- Fuse.Controls.CameraView 2.9.1