Takes a polygon annotation reference and rotates the polygon wrt to its centroid based on the input number of degrees. After rotation saves the updated polygon in the annotation layer state.
void
The navigation State object of neuroglancer panel.
Layer in which the polygon annotation is present.
reference corresponding to the polygon.
Angle of rotation in degrees. Eg: (30 degrees etc)
Generated using TypeDoc
Takes a polygon annotation reference and rotates the polygon wrt to its centroid based on the input number of degrees. After rotation saves the updated polygon in the annotation layer state.
Returns
void