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

[JAMSVGImage styledPaths] and JAMStyledBezierPath instances should probably be public. #20

Open
rwe opened this issue Apr 19, 2015 · 1 comment

Comments

@rwe
Copy link
Contributor

rwe commented Apr 19, 2015

These are extremely useful for being able to change the coloring of assets, for example, by looping through the paths and setting fillColor.

If these are mutable, however, it should be considered that it may be useful for JAMSVGImage to observe the properties of those subpaths in order to trigger setNeedsDisplay() when changed. Currently I expose these properties with a category and am careful to call setNeedsDisplay() manually.

@PokerChang
Copy link

+1. It's extremely useful to change the path fill color after it's drawn. E.g. when a user tap on the path, I want to change the fill color.

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

No branches or pull requests

2 participants