answered 8 years ago
"kwds" is short for keyword arguments, which are additional options you can pass to the command in the format name=value. Examples for line are thickness=3 or color='red'.
name=value
line
thickness=3
color='red'