コード例 #1
0
 /// <summary>
 /// Should be fired when average color of tile is calculated
 /// </summary>
 /// <param name="mosaic"></param>
 /// <param name="eventArgs"></param>
 protected virtual void OnTileAverageColorCalculated(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (TileSkipped != null)
     {
         TileSkipped(mosaic, eventArgs);
     }
 }
コード例 #2
0
 protected virtual void OnCalculated(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (Calculated != null)
     {
         Calculated(mosaic, eventArgs);
     }
 }
コード例 #3
0
 protected virtual void OnTileSkipped(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (TileSkipped != null)
     {
         TileSkipped(mosaic, eventArgs);
     }
 }
コード例 #4
0
 protected virtual void OnTileDontFit(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (TileDontFit != null)
     {
         TileDontFit(mosaic, eventArgs);
     }
 }