Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a RendererInterface #206

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Add a RendererInterface #206

merged 4 commits into from
Oct 1, 2024

Conversation

casperbakker
Copy link
Member

@casperbakker casperbakker commented Sep 22, 2024

  • Add generic RendererInterface
  • Make all render() methods the same, all now using $width instead of sometime a $widthFactor
  • Make all set*Color() methods the same, only accepting an array of RGB colors
  • Add a ColorHelper to convert old style colors to the new color array

@casperbakker casperbakker merged commit 3ef0b26 into main Oct 1, 2024
4 checks passed
@casperbakker casperbakker deleted the interface branch October 1, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant