build
Return
A Polygon. The paths' directions are auto-corrected. All holes are clockwise, and all non-holes anticlockwise. Use the other build(false)
if you want the paths in the order they were defined.
Return
A Polygon
Parameters
autoCorrect
If true, then all paths are checked to ensure they are correctly ordered (clockwise for holes, anticlockwise for non-holes).