Skip to content

Commit

Permalink
feat(imjoypluginapi): add plugin API wrappers for ROI publicAPI endpo…
Browse files Browse the repository at this point in the history
…ints
  • Loading branch information
bnmajor committed Dec 6, 2023
1 parent 85740ad commit d74a2ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ImJoyPluginAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,18 @@ class ImJoyPluginAPI {
getCompareImages(name) {
return this.viewer.getCompareImages(name)
}

getloadedScale(scale) {
return this.viewer.getloadedScale(scale)
}

getCroppedImageWorldBounds() {
return this.viewer.getCroppedImageWorldBounds()
}

async getCroppedIndexBounds(scale) {
return await this.viewer.getCroppedIndexBounds(scale)
}
}

export default ImJoyPluginAPI

0 comments on commit d74a2ef

Please sign in to comment.