addContour static method
Implementation
static void addContour(List<num> vertices, List<Vector?> contour) {
for (int i = 0; i < contour.length; i++) {
if(contour[i] != null){
vertices.add(contour[i]!.x);
vertices.add(contour[i]!.y);
}
}
}