-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I have been working on adding support for outline generation with linejoin/cap as a transformer, for now i keep it as separate project as its not fully done yet, is this something that we would be ok to add it here?
Capabilities
- Complete SVG Path Support: Compatible with lines, curves, and complex path geometries
- Path Type Handling:
- Explicitly closed paths (using Z command)
- Implicitly closed paths (where start and end points coincide)
- Open paths with appropriate cap treatments
- Corner Style Options:
- Miter joins (sharp corners with intelligent miter limit handling)
- Bevel joins (flat corner connections)
- Round joins (smooth curved corners)
- Miter-clip joins (corners truncated at miter limit distance)
- Line Cap Options:
- Butt caps (flat endings at path endpoints)
- Square caps (extended flat endings)
- Round caps (semicircular endings)
- Direction Independence: Functions correctly regardless of clockwise or counter-clockwise path orientation
Future Development
- Support for dash patterns (stroke-dasharray implementation)
- Performance optimizations and geometric pre-filtering
i prepared small demo:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
