update

fun update(entity: DrawableEntity)

Replaces the shape that has the id of entity by entity, in the same place in the order; nothing happens if there is none. Not a history step.