invoke

operator fun invoke(value: String?): PathFillType?(source)

Operator function to create a new instance of PathFillType. Converts the first character of the given string parameter to uppercase, then returns a PathFillType instance with this new string.

If the provided value is null, this function likewise returns null.

Return

A new PathFillType object, or null if the input string was null.

Parameters

value

A nullable string which will represent the stroke cap. This string, if provided, will have its first character converted to uppercase.