From e6ebc43d725710f69094afa6ff47d91e50cce1ad Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Sun, 24 Nov 2019 11:00:02 +0100 Subject: Fixed antialiased option for Polygon2D / Line2D Polygon2D: The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing. Line2D: Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly. Fixes #26823 --- doc/classes/Line2D.xml | 3 +++ doc/classes/VisualServer.xml | 2 ++ 2 files changed, 5 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 3cb04b8b89..b11f3e27e5 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -66,6 +66,9 @@ + + If [code]true[/code], the line's border will be anti-aliased. + Controls the style of the line's first point. Use [code]LINE_CAP_*[/code] constants. diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 895aba2473..f1926834ad 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -411,6 +411,8 @@ + + -- cgit v1.2.3