From 8129dd45d956c0690540be2de20fdf45420d30a1 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 16 Feb 2022 00:49:32 +0100 Subject: Update description of LINE_TEXTURE constants --- doc/classes/Line2D.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 41c9ea5df5..d1f2597342 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -120,10 +120,10 @@ Takes the left pixels of the texture and renders it over the whole line. - Tiles the texture over the line. The texture must be imported with [b]Repeat[/b] enabled for it to work properly. + Tiles the texture over the line. [member CanvasItem.texture_repeat] of the [Line2D] node must be [constant CanvasItem.TEXTURE_REPEAT_ENABLED] or [constant CanvasItem.TEXTURE_REPEAT_MIRROR] for it to work properly. - Stretches the texture across the line. Import the texture with [b]Repeat[/b] disabled for best results. + Stretches the texture across the line. [member CanvasItem.texture_repeat] of the [Line2D] node must be [constant CanvasItem.TEXTURE_REPEAT_DISABLED] for best results. -- cgit v1.2.3