allow stroke and strokeWidth to be specified