Skip to content

feat: add support for miter-limit#1959

Merged
lavrton merged 1 commit intokonvajs:masterfrom
nathan-muir:feat-miter-limit
Aug 19, 2025
Merged

feat: add support for miter-limit#1959
lavrton merged 1 commit intokonvajs:masterfrom
nathan-muir:feat-miter-limit

Conversation

@nathan-muir
Copy link
Copy Markdown
Contributor

@nathan-muir nathan-muir commented Aug 18, 2025

Adds support for miterLimit

A number specifying the miter limit ratio, in coordinate space units. Zero, negative, Infinity, and NaN values are ignored. The default value is 10.0.

The test includes a triangle, where one corner would be affected by the correct miter-limit of 3:

image

Where the default miter limit (10) would not bevel any corners:

image

And a lower miter limit (like 1) would bevel all corners:

image

@lavrton lavrton merged commit 0ac2ecf into konvajs:master Aug 19, 2025
2 checks passed
@nathan-muir nathan-muir deleted the feat-miter-limit branch August 20, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants