The Transform should be moved from the Path to the Geometry:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.geometry.transform?view=netframework-4.7.1#System_Windows_Media_Geometry_Transform