Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

How to change format of selection #212

Open
artutava opened this issue Oct 21, 2019 · 1 comment
Open

How to change format of selection #212

artutava opened this issue Oct 21, 2019 · 1 comment

Comments

@artutava
Copy link

artutava commented Oct 21, 2019

Hey, how can I change the format o f the selection, so that i can change the color of the selection in the image and add border radius to it? is it done in css or js?

@rsimon
Copy link
Member

rsimon commented Apr 11, 2020

The annotations are rendered as raster graphics on a Canvas element. Unfortunately that means there are no styling options except the color config available through the API.

In case this still helps: I started working on a modern re-write of Annotorious very recently. This uses SVG - which means the annotation shapes can be fully styled via CSS. Documentation isn’t complete yet. Do shout out if you want to try it out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants