Image.monitor

Establish a progress monitor. Most Image and ImageList methods will periodically call the monitor with arguments indicating the progress of the method.

The delegate receves the folowing parameters:

$(ROW string $(I methodName), The name of the monitored method.) $(ROW long $(I offset ), A number between 0 and extent that identifies how much of the operation has been completed (or, in some cases, remains to be completed).) $(ROW ulong $(I extent ), The number of quanta needed to complete the operation.)
  1. void monitor(bool delegate(string methodName, long offset, ulong extent) progressMonitor)
    class Image
    void
    monitor
    (
    bool delegate
    (
    string methodName
    ,
    long offset
    ,
    ulong extent
    )
    progressMonitor
    )
  2. bool delegate(string, long, ulong) monitor()

Meta