Skip to content

docs: add anchor alignment examples for <courtyardoutline />#519

Open
Devesh36 wants to merge 2 commits intotscircuit:mainfrom
Devesh36:courtyard
Open

docs: add anchor alignment examples for <courtyardoutline />#519
Devesh36 wants to merge 2 commits intotscircuit:mainfrom
Devesh36:courtyard

Conversation

@Devesh36
Copy link
Copy Markdown
Contributor

@Devesh36 Devesh36 commented Mar 22, 2026

This pull request adds new documentation to demonstrate how to align the anchor point of a <courtyardoutline /> polygon in footprint coordinates. The update provides practical code examples for aligning the outline to different anchor positions (center, top-left, bottom-right).

Documentation improvements:

  • Added an "Anchor Alignment Examples" section to courtyardoutline.mdx, including code and visual examples showing how to translate outline points to achieve different anchor alignments for the <courtyardoutline /> component.

/fix #498

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 24, 2026 8:34am

Request Review

Copy link
Copy Markdown
Member

@imrishabh18 imrishabh18 left a comment

Choose a reason for hiding this comment

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

Link the issue in the PR which you are trying to solve. In this case share any issue or discussion which caused you to create this PR for more context

@Devesh36
Copy link
Copy Markdown
Contributor Author

Link the issue in the PR which you are trying to solve. In this case share any issue or discussion which caused you to create this PR for more context

yes

@Devesh36 Devesh36 requested a review from imrishabh18 March 24, 2026 09:27
Copy link
Copy Markdown
Member

@imrishabh18 imrishabh18 left a comment

Choose a reason for hiding this comment

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

Incorrect! You need to use the anchorAligment property. If it's not present under courtyardoutline then you need to add the support for that first

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add examples of courtyard outline with different anchor alignment configured

2 participants