Changing the stroke-width of an animated <canvas>. Is is possible?

107 views
Skip to first unread message

Motvion animator

unread,
May 19, 2016, 11:27:53 AM5/19/16
to Google Web Designer beta
Hello,

I'm new with GWD. It looks brilliant!

I made a line with the pen tool (<canvas>) and animated with 3drotation on z. I'm trying to change the stroke-width in code view, but it doesn't modify. It keeps as 1px. Any idea?

Thank you!

motvion

Google Web Designer beta

unread,
May 19, 2016, 11:53:27 AM5/19/16
to Google Web Designer beta
Hello,

Changing stroke-width in the code, or from Properties Panel should change the stroke size for the canvas shape.
Please make sure you apply the color to the stroke. 
If you still don't see the change, please let us know more details.

The change of the stroke size will affect all keyframes. Animating the canvas for it's color, stroke and shape is not currently supported in GWD.

Thanks,
Mariko - Google Web Designer

Motvion animator

unread,
May 20, 2016, 6:40:37 AM5/20/16
to Google Web Designer beta
Hi Mariko,

Thank you very much for your reply. I tried to modify the value for the stroke-width and the stroke remains as 1 px. I don't know why.

I made a <div> with fill color instead of using <canvas> and works great. I just needed a rectangle shape.

Thank you!
Reply all
Reply to author
Forward
0 new messages