Skip to content

Commit

Permalink
feat(ImJoyPluginAPI): add setImagePiecewiseFunctionPoints and getter
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHax committed Jun 21, 2024
1 parent 9b0e512 commit e67d186
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ImJoyPluginAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ class ImJoyPluginAPI {
return this.viewer.getImagePiecewiseFunctionGaussians(component, name)
}

setImagePiecewiseFunctionPoints(points, component, name) {
this.viewer.setImagePiecewiseFunctionPoints(points, component, name)
}

getImagePiecewiseFunctionPoints(component, name) {
return this.viewer.getImagePiecewiseFunctionPoints(component, name)
}

setImageShadowEnabled(shadow, name) {
this.viewer.setImageShadowEnabled(shadow, name)
}
Expand Down

0 comments on commit e67d186

Please sign in to comment.