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