OOF2: The Manual

Name

OOF.Graphics_n.Layer.Lower.One_Level — Lower the selected graphics layer.

Synopsis

OOF.Graphics_n.Layer.Lower.One_Level(n)

Details

  • Parent Menu: OOF.Graphics_n.Layer.Lower
  • Callback: function GfxWindow.lowerLayer in module ooflib.common.IO.ghostgfxwindow
  • Parameters:

    n
    Layer index. 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. Lowering a Layer in the stack makes it less visible. This command lowers the given layer by one level in the stack, swapping it with the Layer below. If the Layer below is hidden or currently empty[19], this command will have no visible effect. It may be necessary to invoke it many times to achieve the desired result. See OOF.Graphics_n.Layer.Lower.To_Bottom.

In GUI mode, this command operates on the currently selected Layer. In text mode and in scripts, the Layer is specified by its position n in the window's layer list. The unlisted and invisible layers must be counted when computing n. This command isn't very friendly in scripts, because it can be hard to determine n.

See Also



[19] For example, displaying selected Skeleton components when nothing is selected.