allow for lineWidth and outlineWidth to be specified as strings