public stops() as ArrayList<GradientStop>:
Returns the configured color stops.
print(gradient.stops().size)