Skip to content

ClipperOffset AddPaths

Seth Hillbrand edited this page Oct 29, 2026 · 2 revisions

Home › clipper.offset.h › ClipperOffset › ClipperOffset.AddPaths

ClipperOffset.AddPaths

void AddPaths(const 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

Clone this wiki locally