Delphi procedure AddPath(const Path: TPath64; JoinType: TJoinType; EndType: TEndType);

C++ void AddPath(const Path64& path, JoinType jointype, EndType endtype);

C#  public void AddPath(Path64 path, JoinType jointype, EndType endtype);

Adds a Path64 to a ClipperOffset object in preparation for offsetting.

Any number of paths can be added, and each has its own JoinType and EndType. All 'outer' Paths must have the same orientation, and any 'hole' paths must have reverse orientation. Closed paths must have at least 3 vertices. Open paths may have as few as one vertex. Open paths can only be offset with positive deltas.

See Also

EndType, JoinType, Path64