OOF2: The Manual

Name

OOF.Graphics_n.Layer.Raise.By — Raise the selected graphics layer over a given number of other layers.

Synopsis

OOF.Graphics_n.Layer.Raise.By(n,howfar)

Details

  • Parent Menu: OOF.Graphics_n.Layer.Raise
  • Callback: function GhostGfxWindow.raiseBy in module ooflib.common.IO.ghostgfxwindow
  • Options: cli_only=1
  • Parameters:

    n
    Layer index. Type: Integer.
    howfar
    How far to raise the layer. Type: Integer.

Description

Graphics Layers are conceptually organized in a stack, with Layers on the bottom drawn first, and layers on the top drawn last. Higher Layers therefore obscure the lower ones. Raising a Layer in the stack makes it more visible. This command raises the given layer by howfar levels in the stack, lowering all the intervening layers by one level.

If howfar is 1, then this command is identical to OOF.Graphics_n.Layer.Raise.One_Level. See that command for more details.