https://learn.microsoft.com/zh-tw/dotnet/api/system.windows.ink.stroke.drawcore?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
Stroke.DrawCore(DrawingContext, DrawingAttributes) Method (System.Windows.Ink) | Microsoft Learn
Renders the Stroke on the specified DrawingContext using the specified DrawingAttributes.
strokemethodsystemwindowsink