annotorious / annotorious-v1

Project has moved to http://github.com/annotorious/annotorious
https://annotorious.com
MIT License
593 stars 142 forks source link

Introducing style property for shape #89

Closed gergely-ujvari closed 10 years ago

gergely-ujvari commented 10 years ago

Now for each shape of an annotation the drawing color can be set in the shape.style property.

In the drawShape() function, the selector will check the presence of the style property and if it is set it'll use the given style, otherwise it'll use the selector's configured style.