
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
@annotorious/plugin-tools
Advanced tools
An Annotorious plugin that adds additional drawing tools.
npm install @annotorious/plugin-tools
Draw ellipses or circles.
SHIFT – Constrain aspect ratio to circleCTRL – Draw from the center outwardDraw a straight line between two points.
Create polylines made of straight or curved segments.
Drawing:
drawingMode is set to drag) to start.Editing:
Alt (or Option on Mac) while dragging a handle to move it independently.The plugin works with both Annotorious versions: Image Annotator and OpenSeadragon Annotator.
import { createImageAnnotator } from '@annotorious/annotorious';
import { mountPlugin as mountToolsPlugin } from '@annotorious/plugin-tools';
import '@annotorious/annotorious/annotorious.css';
import '@annotorious/plugin-tools/annotorious-plugin-tools.css';
var anno = createImageAnnotator('sample-image', {
/** Annotorious init options **/
});
mountToolsPlugin(anno);
// ['rectangle', 'polygon', 'ellipse', 'line', 'path']
console.log(anno.listDrawingTools());
anno.setDrawingTool('path');
import OpenSeadragon from 'openseadragon';
import { createOSDAnnotator } from '@annotorious/openseadragon';
import { mountPlugin as mountToolsPlugin } from '../src';
import '@annotorious/openseadragon/annotorious-openseadragon.css';
import '@annotorious/plugin-tools/annotorious-plugin-tools.css';
const viewer = OpenSeadragon({
/** OpenSeadragon init options **/
});
const anno = createOSDAnnotator(viewer, {
/** Annotorious init options **/
});
mountToolsPlugin(anno);
// ['rectangle', 'polygon', 'ellipse', 'line', 'path']
console.log(anno.listDrawingTools());
anno.setDrawingTool('path');
FAQs
Additional drawing tools for Annotorious
The npm package @annotorious/plugin-tools receives a total of 63 weekly downloads. As such, @annotorious/plugin-tools popularity was classified as not popular.
We found that @annotorious/plugin-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.