()
| 824 | } |
| 825 | |
| 826 | getCamera(): Promise<Camera> { |
| 827 | if (this.fabricMap.current) { |
| 828 | return this.fabricMap.current.getCamera(); |
| 829 | } |
| 830 | return Promise.reject('getCamera not supported on this platform'); |
| 831 | } |
| 832 | |
| 833 | setCamera(camera: Partial<Camera>) { |
| 834 | if (this.fabricMap.current) { |