close method
void
close()
Close a shape (add a line to the start)
Implementation
void close() {
if (edges.isEmpty) throw Exception("Must have at least one point to close");
line(to: edges[0].start);
}
Close a shape (add a line to the start)
void close() {
if (edges.isEmpty) throw Exception("Must have at least one point to close");
line(to: edges[0].start);
}