center

var center: Vector2(source)

Specifies the center point of the gradient. The center is defined in normalized coordinates where (0, 0) represents the top-left corner and (1, 1) represents the bottom-right corner of the gradient's bounding box. The default value is Vector2(0.5, 0.5), which corresponds to the center of the gradient.