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