摘要 |
FIELD: physics, computer engineering.SUBSTANCE: invention relates to a field associated with the Internet, particularly to a method and apparatus for creating a user interface. The apparatus for creating a user interface comprises the following modules: an acquisition module for acquiring layers to be drawn and styles thereof, wherein the layers comprise an image layer and a colour layer underlying the image layer; a layer creation module designed to extract attribute information of all layers, wherein the attribute information includes transparency; a user interface creation module for merging the drawn layers, wherein the layer creation module comprises: an extraction submodule for obtaining an image file selected by a user; and a drawing submodule for drawing the image layer according to the image file obtained by the extraction submodule, and drawing the colour layer according to the image file of the image layer; wherein the apparatus also includes a variation module for periodically varying transparency of the image layer.EFFECT: high efficiency of controlling a user interface.11 cl, 18 dwg |