Closed stefano-malacrino closed 4 years ago
Hey @stefano-malacrino,
Cool, I was also thinking these would be useful.
In the new revision of the schema based on GeoJSON, the polygons spec includes internal and external LinearRings...
Do you think this is a reasonable representation in the annotation schema?
As for actually drawing it in PaperJS, compound paths make sense.
LGTM
Add support for visualizing path with holes (useful to display machine-generated tissue segmentation). This implementation uses paperjs CompoundPath class with evenodd filling rule. The AIDA type is
cpath
, the holes are represented as a list valid paperjs closed paths or shapes, e.g.