public void addSubPath ( Coordinate [ ] coordinates , boolean closed ) { subPaths . add ( new SubPath ( coordinates , closed ) ) ; updateCoordinates ( ) ; }
Add a new sub - path to the path . A path can have multiple sub - paths . Sub - paths may be disconnected lines or rings but thanks to even - odd rule holes can be added as well .