A method of controlling the display of a screen of an electronic device, the method comprising: selecting a first image and a second image; selecting a masking pattern comprising at least one first area and at least one second area; measuring an inclination of the electronic device; determining, based on the measured inclination of the electronic device, a part of the first image corresponding to a location of the at least one first area and a part of the second image corresponding to a location of the at least one second area; and outputting the determined parts of the first image and the second image in one screen through a display unit of the electronic device, wherein the outputting of the determined parts of the first image and the second image comprises: arranging the first image and the second image in an upper layer and a lower layer, respectively; arranging the masking pattern at at least a part of the arranged first and second images; moving, based on the measured inclination of the electronic device, the first image and the second image with respect to the arranged masking pattern at a preset first acceleration and a preset second acceleration, respectively; displaying the part of the moved first image corresponding to the location of the at least one first area; and displaying the part of the moved second image corresponding to the location of the at least one second area by adjusting a transparency of a part of the moved first image corresponding to the location of the at least one second area. selecting a first image and a second image; selecting a masking pattern comprising at least one first area and at least one second area; measuring an inclination of the electronic device; determining, based on the measured inclination of the electronic device, a part of the first image corresponding to a location of the at least one first area and a part of the second image corresponding to a location of the at least one second area; and outputting the determined parts of the first image and the second image in one screen through a display unit of the electronic device, wherein the outputting of the determined parts of the first image and the second image comprises: arranging the first image and the second image in an upper layer and a lower layer, respectively; arranging the masking pattern at at least a part of the arranged first and second images; moving, based on the measured inclination of the electronic device, the first image and the second image with respect to the arranged masking pattern at a preset first acceleration and a preset second acceleration, respectively; displaying the part of the moved first image corresponding to the location of the at least one first area; and displaying the part of the moved second image corresponding to the location of the at least one second area by adjusting a transparency of a part of the moved first image corresponding to the location of the at least one second area. arranging the first image and the second image in an upper layer and a lower layer, respectively; arranging the masking pattern at at least a part of the arranged first and second images; moving, based on the measured inclination of the electronic device, the first image and the second image with respect to the arranged masking pattern at a preset first acceleration and a preset second acceleration, respectively; displaying the part of the moved first image corresponding to the location of the at least one first area; and displaying the part of the moved second image corresponding to the location of the at least one second area by adjusting a transparency of a part of the moved first image corresponding to the location of the at least one second area.