Replies: 2 comments
-
Maybe I misunderstand something but normally SKPicture is a frozen record of already executed drawing operations. So the only thing paint would affect here is how you want to play that song: with which opacity, filters etc, without changing the song notes. You had to change the width of strokes before that SKPicture was created. |
Beta Was this translation helpful? Give feedback.
-
Вы можете масштабировать контейнер в котором вы отображаете svg
|
Beta Was this translation helpful? Give feedback.
-
HI Matthew @mattleibow ,
Apparently SkPaint is not affecting SKPicture when drawing on canvas.
What I'm trying to do is scale picture without changing it's stroke.
I found out that in order to do this I'm supposed to define SkPaint with style Stroke or StrokeAndFill and set StrokeWidth=0.
Here is sample of my code:
Could you tell me what am I doing wrong?
Is it possible to scale svg without changing it's edges thickness?
Beta Was this translation helpful? Give feedback.
All reactions