Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a duplicate of Draw circle - fill toggle #636 which was closed by mistake, I lost the original one, hence re-did it.
Description
I am adding a new Graphics usage example: Draw Circle - fill toggle.
I am showing a circle that is toggling between outline and filled when I press SPACE, and I am quitting with ESC.
Type of change
How Has This Been Tested?
I verified the example locally in two steps. First, I ran C++ and both C# variants individually using SplashKit templates. I added the files to the repository and ran npm run build followed by npm run preview; I opened the Graphics page and confirmed the example rendered in tabs and the GIF displayed.
Testing Checklist
Checklist
If involving code
Folders and Files Added/Modified
src/assets/usage-examples-code/graphics/draw_circle/draw_circle-1-fill-toggle.cpp
src/assets/usage-examples-code/graphics/draw_circle/draw_circle-1-fill-toggle.cs
src/assets/usage-examples-code/graphics/draw_circle/draw_circle-1-fill-toggle-oop.cs
src/assets/usage-examples-code/graphics/draw_circle/draw_circle-1-fill-toggle.txt
public/usage-examples-images-gifs/graphics/draw_circle-1-fill-toggle.gif