ClipperOffset.AddPaths

Delphi procedure AddPaths(const Paths: TPaths64; JoinType: TJoinType; EndType: TEndType);

C++ void AddPaths(const Paths64& paths, JoinType jointype, EndType endtype);

C#  public void AddPaths(Paths64 paths, JoinType jointype, EndType endtype);


Adds Paths64 to a ClipperOffset object in preparation for offsetting.

Any number of paths can be added, and each path 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, Paths64