toString() Returns a string representation of the line gradient object. DeclarationtoString(): string;