/// <summary>
        /// Creates a rotation matrix for the given point and angle.
        /// </summary>
        /// <param name="origin">The origin point to rotate around</param>
        /// <param name="degrees">Rotation in degrees</param>
        /// <returns>The rotation <see cref="Matrix3x2"/></returns>
        public static Matrix3x2 CreateRotation(Point origin, float degrees)
        {
            float radians = ImageMaths.DegreesToRadians(degrees);

            return(Matrix3x2.CreateRotation(radians, new Vector2(origin.X, origin.Y)));
        }