kirill-grouchnikov / radiance

Building modern, elegant and fast Swing applications
BSD 3-Clause "New" or "Revised" License
807 stars 89 forks source link

Feature: rotating in one icon class to render different icons #407

Closed homebeaver closed 2 years ago

homebeaver commented 2 years ago

Hi Kriill, this is my feature suggestion:

I use svg to generate icons. Sometimes it is not necessary to have many svgs. Look at the following example demo:

grafik

To implement this in radiance same changes are to be done.

What do you think about? Regards EUGen

kirill-grouchnikov commented 2 years ago

I'd rather have this as a wrapper icon along the lines of what already exists in https://github.com/kirill-grouchnikov/radiance/tree/sunshine/component/src/main/java/org/pushingpixels/radiance/component/api/common/icon instead of baking this into every single transcoded icon which would result in bigger class files for everybody