Delphi property MiterLimit: double; //read and write

C++ double MiterLimit;

C#  public double MiterLimit {get; set;}

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