Description :
This instruction creates a panel from an icon (PNL, GIF, PNG) and displays it in the current Alambik screen.
The panel is built by repeating blocks of pixels. Its rendering is therefore of a much higher standard than what would have been achieved using "icon.resize".
Parameters :
-
Path and filename to the correct icon file. The path can be an Internet address or a local (hard disk) address. Should the path be unspecified, Alambik will search for the file in the current directory of the current local hard disk.
-
X component of the panel's top left pixel position.
-
Y component of the panel's top left pixel position.
-
Width of the panel, expressed in pixels.
The width of the panel cannot be smaller than 2/3 of the width of the icon.
For GIF and PNG, the width must be a multiple of 3.
-
Height of the panel, expressed in pixels.
The height of the panel cannot be smaller than 2/3 of the height of the icon.
For GIF and PNG, the height must be a multiple of 3.
Notes :
Panel.display ("fond.pnl",100,100,100,100) is the concatenation of the following instructions:
%ObjectID = Panel.create ("fond.pnl",100,100)
Panel.display (%ObjectID,100,100)
Panel.free (%ObjectID)
Examples :
|