Combine
Waiting for the second shape of a merge or a cut: the polygon entityId is the one that was selected, and the next tap on another polygon (DrawEvent.Click with a hitEntityId) does kind with it, as DrawEvent.MergeWith or DrawEvent.CutBy would, and goes back to Select of entityId (or to Idle when a cut took all of it). A tap on nothing or on entityId itself cancels, as does a DrawEvent.ModeChange to anything else; a tap on a shape that isn't a polygon is ignored. New vertices get ids made from idPrefix (see DrawEvent.MergeWith). The shape entityId is highlighted as selected meanwhile.
A DrawEvent.ModeChange into this mode does nothing unless the state machine has an OverlayEngine and entityId is a polygon, so a host can offer merging and cutting by whether this mode can be entered.
Properties
Functions
Which StyleState should be rendered in while the engine is in this mode: StyleState.EDITING or StyleState.SELECTED for the one entity Edit/Select names, StyleState.DEFAULT for every other entity and every other mode. HOVER and DISABLED aren't derivable from a mode — nothing in the engine produces them yet.