Function randomContext

  • creates a random context with the given constraints

    Parameters

    • numberOfRows: number
    • defaultRowHeight: number
    • minRowHeight: number = 2
    • maxRowHeight: number = ...
    • ratio: number = 0.2

      around ratio percent will get a non uniform height

    • seed: number = ...

      random seed

    Returns IExceptionContext