Skip to content

ClipperOffset MiterLimit

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

Home › clipper.offset.h › ClipperOffset › ClipperOffset.MiterLimit

ClipperOffset.MiterLimit

double MiterLimit;

This property sets the maximum distance in multiples of delta that vertices can be offset from their original positions before squaring is applied. (Squaring truncates a miter by 'cutting it off' at 1 × delta distance from the original vertex.)

The default value for MiterLimit is 2 (ie twice delta). This is also the smallest MiterLimit that's allowed. If mitering was unrestricted (ie without any squaring), then offsets at very acute angles would generate unacceptably long 'spikes'.

Here's an example of an offsetting 'spike' at a narrow angle that's created by a large MiterLimit ...

See Also

Trigonometry, JoinType

Clone this wiki locally