-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Option to scale stroke_width #3525
Comments
Can you explain more or show a video? |
Hello there! Both text objects have an outline of 3px, and all circles were instantiated with outline of 100px, but the middle one is scaled to 25%. Could you please assign me the issue when you have a moment? |
Description of proposed feature
Add option to mobject.scale to scale including vmobject.stroke_width.
mobject.scale just changes its points, does not touch stroke_width for now.
But sometime I want to scale them including stroke_width, to preserve the appearance.
How can the new feature be used?
mobject.scale(scale_factor, scale_stroke_width=True)
Additional comments
I expect code like below, but no sure while I'm new to python and manim.
The text was updated successfully, but these errors were encountered: