Update Stroke.as

Replaced ternary operators. Performance improvement using if-else with 500 addVertex calls: ~7%