Skip to content

Add graphic.color override to Rectangle.cs#1

Open
JimmyCushnie wants to merge 2 commits into
thisotherthing:masterfrom
JimmyCushnie:patch-1
Open

Add graphic.color override to Rectangle.cs#1
JimmyCushnie wants to merge 2 commits into
thisotherthing:masterfrom
JimmyCushnie:patch-1

Conversation

@JimmyCushnie

Copy link
Copy Markdown

Currently, Rectangle.color doesn't do anything, and code that operates on many graphics and modifies their color fails with Rectangle. This modification makes it do something.

Should probably be added to the other shapes too.

this way, code that deals with colors on many different types of Graphic can operate on a Rectangle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant