commit draw rectangular