mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The drawing tools style the object they draw in the same call: dash, cap and join go to the stroke.set that strokeWidth already sends, opacity and name to object.setProps, and effects are applied in order as apply_effect does. The options are checked (effect ids against effect.list) before anything is drawn, so a bad one leaves no half-styled object behind.