Skip to content

Howto: Create a rounded rectangle path #196

Discussion options

You must be logged in to vote

Hey @odalet, thanks for sharing this! A more performant and easier way to construct your path is to use PathBuilder. Additionally, instead of clipping the EllipsePolygon, you can use elliptical arcs which have been added in #144. This way you will be able to avoid the expensive point-by-point addition of the ellipse segments. You can use one of the PathBuilder.AddEllipticalArc overloads for insertions.

The elliptical arc feature ​is not present in our NuGet releases yet, you will have to use our MyGet feed.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@odalet
Comment options

@odalet
Comment options

Answer selected by odalet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants