2. The function $f(x)=a x^{2}+b x+c(a>0)$ satisfies $f(x+2)=f(2-x)$, the correct statement is ( ).
A. $f(\pi-2)=f(\pi)$
B. $f\left(\frac{\sqrt{2}}{2}\right)f(\pi)$
D. $f(0)<f(2)$
2. C. From the problem, the axis of symmetry of $y=f(x)$ is the line $x=2$, and the parabola opens upwards.