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