size

size() method

Returns the number of gradient stops in a collection. Read-only int.

Returns

int