ClipperOffset.AddPath

Del.» procedure AddPath(const Path: TPath; JoinType: TJoinType; EndType: TEndType);

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

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


Adds a Path 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, Path