LinearGradientNode.getNColorStops

size_t getNColorStops()

Retrieves the number of color stops in the gradient.

Returns

the number of color stops