Loading...
Searching...
No Matches
CameraUtils Interface Reference

import snippets/LocationWindowCamera/objc/LocationWindowCameraExample.h;

Inherits NSObject.

Static Public Member Functions

NCCamera * createCenteredCameraWithX:y:zoom: (double x,[y] double y,[zoom] double zoom)
 
NCCamera * createRotatedCameraWithX:y:zoom:rotation: (double x,[y] double y,[zoom] double zoom,[rotation] double rotation)
 
BOOL isValidCamera: (NCCamera *camera)
 
NCCamera * createAreaCameraWithCenterX:centerY:width:height: (double centerX,[centerY] double centerY,[width] double width,[height] double height)
 
NCCamera * createPathCameraWithPoints: (NSArray< NCPoint * > *points)
 
NCCamera * createMultiPointCameraWithPoints:padding: (NSArray< NCPoint * > *points,[padding] double padding)
 

Detailed Description

Camera utilities

Definition at line 446 of file location_window_camera_example.dart.

Member Function Documentation

◆ createAreaCameraWithCenterX:centerY:width:height:()

NCCamera * CameraUtils.createAreaCameraWithCenterX:centerY:width:height: ( double centerX,
[centerY] double centerY,
[width] double width,
[height] double height )
staticvirtual

Create camera for showing area

◆ createCenteredCameraWithX:y:zoom:()

NCCamera * CameraUtils.createCenteredCameraWithX:y:zoom: ( double x,
[y] double y,
[zoom] double zoom )
staticvirtual

Create camera for centered point with given zoom

◆ createMultiPointCameraWithPoints:padding:()

NCCamera * CameraUtils.createMultiPointCameraWithPoints:padding: ( NSArray< NCPoint * > * points,
[padding] double padding )
staticvirtual

Create camera for showing multiple points

◆ createPathCameraWithPoints:()

NCCamera * CameraUtils.createPathCameraWithPoints: ( NSArray< NCPoint * > * points)
staticvirtual

Create camera for showing path

◆ createRotatedCameraWithX:y:zoom:rotation:()

NCCamera * CameraUtils.createRotatedCameraWithX:y:zoom:rotation: ( double x,
[y] double y,
[zoom] double zoom,
[rotation] double rotation )
staticvirtual

Create camera with rotation

◆ isValidCamera:()

BOOL CameraUtils.isValidCamera: ( NCCamera * camera)
staticvirtual

Validate camera position


The documentation for this interface was generated from the following files: