Questions tagged [svg-pattern]

16 questions
0
votes
0 answers

Failed to use a slider to control the rotate of svg pattern

I want to use a slider to control the rotation of SVG pattern by using .setAttribute('patternTransform','rotate(slider.value)') but it indicate an error:"patterntranfom:expected numbers". enter image description here I will be very appreciated if…
1
2