You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recent pr f2815b4 introduced a new StrokeKind enum. However the StrokeKind is unable to be set by the developer and is automatically chosen during tessellation for shapes.
This breaks existing UIs that rely on the previous default behavior of Middle stroke. For example an allocated rect's stroke isn't visible by default since its outside of the clip rect. There needs to ability for devs to specifically choose StrokeKind for a certain stoke being applied.
Tessellator will now use StrokeKind::Outside for closed shapes like
rect, ellipse, etc. And StrokeKind::Middle for the rest since there's
no meaningful "outside" concept for open paths. This PR doesn't expose StrokeKind to user-land, but we can implement that later so that users
can render shapes and decide where to place the stroke.
The text was updated successfully, but these errors were encountered:
A recent pr f2815b4 introduced a new StrokeKind enum. However the StrokeKind is unable to be set by the developer and is automatically chosen during tessellation for shapes.
This breaks existing UIs that rely on the previous default behavior of Middle stroke. For example an allocated rect's stroke isn't visible by default since its outside of the clip rect. There needs to ability for devs to specifically choose StrokeKind for a certain stoke being applied.
From @juancampa PR:
The text was updated successfully, but these errors were encountered: