Skip to content

Add StyleProperty::map_brush#494

Open
macmv wants to merge 1 commit intolinebender:mainfrom
macmv:style-property-map
Open

Add StyleProperty::map_brush#494
macmv wants to merge 1 commit intolinebender:mainfrom
macmv:style-property-map

Conversation

@macmv
Copy link

@macmv macmv commented Dec 25, 2025

This adds StyleProperty::map_brush, 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?

@macmv
Copy link
Author

macmv commented Jan 19, 2026

good idea point, yeah i'll update it.

@macmv macmv force-pushed the style-property-map branch from 68d3346 to 494de85 Compare January 19, 2026 23:07
@macmv macmv changed the title Add StyleProperty::map Add StyleProperty::map_brush Jan 19, 2026
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

Comments