Closed BigBadaboom closed 2 years ago
Fixed.
For sample gradient:
<radialGradient id="MyGradient" gradientUnits="userSpaceOnUse"
cx="250" cy="200" r="400" fx="550" fy="200">
<stop offset="0%" stop-color="lime" />
<stop offset="30%" stop-color="yellow" />
<stop offset="80%" stop-color="red" />
</radialGradient>
Before (v1.4)
After (v1.5 on Android 12+)
This is now possible from Android API 31 onwards due to the addition of a the new RadialGradient constructor that takes endX, endY, and endRadius parameters.
fx
andfy
are in SVG 1.1. Thefr
attribute is a new addition to SVG 2.