Module posutil

Various functions for working with positions.

Functions

above (pos, add) Returns the position above the given position.
below (pos, subtract) Returns the position below the given position.


Functions

above (pos, add)
Returns the position above the given position.

Parameters:

  • pos The position.
  • add Optional. The value to add to the y value. Defaults to 1.

Returns:

    The position above the given one.
below (pos, subtract)
Returns the position below the given position.

Parameters:

  • pos The position.
  • subtract Optional. The value to subtract from the y value. Defaults to 1.

Returns:

    The position below the given one.
generated by LDoc 1.4.2