An isosceles right triangle has leg lengths of 4 centimeters. What is the length of the altitude drawn from the right angle to the hypotenuse?