Skip to content

Conversation

@macmv
Copy link

@macmv macmv commented Dec 25, 2025

This adds StyleProperty::map, which is used to convert the brush type in a StyleProperty.

I ran into this while dealing with multiple types of brushes, and figured it might be useful.

@xStrom
Copy link
Member

xStrom commented Jan 18, 2026

This could be useful indeed, however as it only deals with brushes I think using the general map name is misleading. Perhaps something like map_brush?

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.

2 participants