Repository navigation
|
Edit: after further investigations this seems to be a bug, I've edited the text below. When argument thickness is less than 0.5 (e.g. 0.4), method DrawPolygon now fills the polygon, while it used to only stroke the outline, how to get the old behavior? Tested on ImageSharp 3.1.3, ImageSharp.Drawing 2.1.2. When the thickness is equal to 0.5 or greater, the behavior is like it used to be (I think the expected/correct behavior). I've narrowed it down to the change having happened in ImageSharp.Drawing 2.0.0. It was OK in 1.0.0. The call that used to not fill the polygon (from DrawPolygonExtensions): |
Answered by
tocsoft
Mar 8, 2024
Replies: 2 comments 2 replies
Answer selected by
JimBobSquarePants
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


#323 has been created to track this issue.