Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsPainter2DStroke()Strokes the currently defined path.Read time 1 minuteLast updated a month agoDefinition Type: Method Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public void Stroke()