Complete the code to create a radial gradient fill in Figma.
fill.type = '[1]'
To create a radial gradient in Figma, the fill type must be set to 'GRADIENT_RADIAL'.
Complete the code to set the gradient stops for a radial gradient in Figma.
fill.gradientStops = [[1]]Gradient stops require 'position' and a color object with RGBA values.
Fix the error in the code to correctly set the radial gradient's center point.
fill.gradientTransform = [[1, 0, [1]], [0, 1, [1]], [0, 0, 1]]
The center of the radial gradient is at 0.5 on both axes in the transform matrix.
Fill both blanks to set a radial gradient with two stops: red at start and blue at end.
fill.gradientStops = [[1], [2]]
The first stop is red at position 0, the second is blue at position 1.
Fill all three blanks to create a radial gradient fill with center at (0.5, 0.5) and stops red at 0 and green at 1.
fill.type = '[1]'; fill.gradientTransform = [[1, 0, [2]], [0, 1, [2]], [0, 0, 1]]; fill.gradientStops = [[3], {position: 1, color: {r: 0, g: 1, b: 0, a: 1}}]
Set fill type to 'GRADIENT_RADIAL', center coordinates to 0.5, and first stop to red at position 0.