* Get markers' centers and frames in user-space coordinates * * @param onlyVisible boolean true to include only visible markers, false to include all * * @return Promise Promise with { : { point: Point, frame: Frame } }
(onlyVisible: boolean = false)
| 1040 | * @return Promise Promise with { <identifier>: { point: Point, frame: Frame } } |
| 1041 | */ |
| 1042 | getMarkersFrames(onlyVisible: boolean = false): Promise<{ |
| 1043 | [key: string]: {point: Point; frame: Frame}; |
| 1044 | }> { |
| 1045 | if (this.fabricMap.current) { |
| 1046 | // @ts-ignore |
| 1047 | return this.fabricMap.current.getMarkersFrames(onlyVisible); |
| 1048 | } |
| 1049 | return Promise.reject('getMarkersFrames not supported on this platform'); |
| 1050 | } |
| 1051 | |
| 1052 | /** |
| 1053 | * Get bounding box from region |
nothing calls this directly
no test coverage detected