I'm in the process of learning game development and have a question regarding a simple rotation. So far, I'm visualizing the rotation as such:

I've read this similar question but I'm struggling to understand how to apply this given formula:
$$ \begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} \cos{\theta} & -\sin{\theta} \\ \sin{\theta} & \cos{\theta} \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} $$
Given a point of $(2,3)$, what would the point be after a rotation in the $xy$ plane about the origin through an angle of $-180$ degrees?
$$ \begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} \cos{-180} & -\sin{-180} \\ \sin{-180} & \cos{-180} \end{bmatrix} \begin{bmatrix} 2 \\ 3 \end{bmatrix} $$
Is this correct?