nannou icon indicating copy to clipboard operation
nannou copied to clipboard

How to create a polygon with holes?

Open GISerliang opened this issue 2 years ago • 1 comments

Hi, I'm studying nannou to draw some geometries. I need to draw a polygon with holes. Is there some ways to do it?

GISerliang avatar Mar 28 '22 10:03 GISerliang

A polygon exists of at least three vertices to make up a face.

So creating a simple hole into such isn't directly possible.

You could create a complex mesh (made up of polygons), or using a path/lines, to create something with a hole into it.

mvklingeren avatar Aug 08 '22 11:08 mvklingeren