Extract() public static method

Extracts this object.
public static Extract ( Matrix m, int x, int y, int width, int height, bool safe = true ) : Matrix
m Matrix Input Matrix.
x int Matrix x.
y int The y coordinate.
width int The width.
height int The height.
safe bool (Optional) true to safe.
return Matrix
Beispiel #1
0
 /// <summary>A Matrix extension method that extracts this object.</summary>
 /// <param name="m">Matrix.</param>
 /// <param name="x">The x coordinate.</param>
 /// <param name="y">The y coordinate.</param>
 /// <param name="width">The width.</param>
 /// <param name="height">The height.</param>
 /// <param name="safe">(Optional) true to safe.</param>
 /// <returns>A Matrix.</returns>
 public static Matrix Extract(this Matrix m, int x, int y, int width, int height, bool safe = true)
 {
     return(Matrix.Extract(m, x, y, width, height, safe));
 }