DrawOutlineEffect
Plays DrawOutline on the polygon with the id of polygon in repository: register it with the host's AnimationController and every tick puts in the repository what DrawOutline.at gives for how far along it is, in the place of the polygon (the other shapes stay as they are). When it is over, the repository holds polygon again and onFinished is called; one that has finished does nothing more, so the host can unregister it there.
The pen goes at an even speed only if spec's easing is linear: the easing reshapes the whole effect, the outline and the fill.
It is a show, not an edit: nothing goes into the undo history. While it plays the polygon is not in the repository under its own id, so the host should leave the editing modes first, and not draw, edit or load until it has finished. A polygon that is not in the repository when the first tick comes ends the effect at once.
Throws
if spec has no duration or repeats.