panel .display  (  ObjectID ,  PosX ,  PosY ,  Width ,  Height  )  
                                          
Description :

This instruction creates a panel from an icon (PNL, GIF, PNG) which was previously loaded, 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 be achieved using “icon.resize”.

Parameters :

  • ObjectID of the panel.
  • 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.

Examples :