Skip to content

Add linecap and linejoin parameters - #603

Merged
teunbrand merged 7 commits into
posit-dev:mainfrom
teunbrand:linejoins_ends
Nov 4, 2026
Merged

teunbrand merged 7 commits into
posit-dev:mainfrom
teunbrand:linejoins_ends

Conversation

@teunbrand

Copy link
Copy Markdown
Collaborator

This PR aims to fix an entry in #530.

Briefly, most layers that use lines get the linecap and linejoin arguments.
I chose for linejoin specifically because join is already claimed by SQL syntax, and then linecap for symmetry reasons.
Only segment, rule and range do not use linejoin, which would only apply when densified.
The ribbon-based geoms populate the cap2 and join2 from the same parameter.
Plumbing in the writer sort of conflictlessly matches #597.

@thomasp85 thomasp85 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teunbrand
teunbrand merged commit 14a315d into posit-dev:main Nov 4, 2026
23 checks passed
@teunbrand
teunbrand deleted the linejoins_ends branch November 4, 2026 11:28
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