ImageMagick.DoubleMatrix.SetColumn C# (CSharp) Method

SetColumn() public method

Set the column at the specified x position.
public SetColumn ( int x ) : void
x int The x position
return void
    public void SetColumn(int x, params double[] values)
    {
      Throw.IfOutOfRange(nameof(x), x, Order);
      Throw.IfNull(nameof(values), values);
      Throw.IfTrue(nameof(values), values.Length != Order, "Invalid length");

      for (int y = 0; y < Order; y++)
      {
        SetValue(x, y, values[y]);
      }
    }