Пример #1
0
 /// <summary>
 /// Gets Color at pixel location of BitmapSource
 /// </summary>
 /// <remarks>This is an extension method provided by <seealso cref="BitmapEx"/></remarks>
 public static Color GetPixelColorAt(this BitmapSource bitmap, Point location)
 {
     return(bitmap.GetPixelColorAt((int)location.X, (int)location.Y));
 }