doc on rectangle edit