diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2020-12-18 15:03:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-18 15:03:06 +0100 |
| commit | 36b4e035dc7c410c29cda4446f8daa2e00a31da0 (patch) | |
| tree | f5b4108da8d13e05da581c99207e311ee1b2d95e /doc | |
| parent | 771b99b7f491883057881c79105f9c257ed22787 (diff) | |
| parent | 52e44ed3ef75bdbf1c58e5214f38fd53e9d81360 (diff) | |
Merge pull request #44496 from Chaosus/graph_edit_lines
Added GraphEdit properties to control lines thickness and antialiasing
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/classes/GraphEdit.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml index 08a93f0885..c5884aa44a 100644 --- a/doc/classes/GraphEdit.xml +++ b/doc/classes/GraphEdit.xml @@ -174,6 +174,12 @@ </method> </methods> <members> + <member name="connection_lines_antialiased" type="bool" setter="set_connection_lines_antialiased" getter="is_connection_lines_antialiased" default="true"> + If [code]true[/code], the lines between nodes will use antialiasing. + </member> + <member name="connection_lines_thickness" type="float" setter="set_connection_lines_thickness" getter="get_connection_lines_thickness" default="2.0"> + The thickness of the lines between the nodes. + </member> <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" override="true" enum="Control.FocusMode" default="2" /> <member name="minimap_enabled" type="bool" setter="set_minimap_enabled" getter="is_minimap_enabled" default="true"> If [code]true[/code], the minimap is visible. @@ -181,7 +187,7 @@ <member name="minimap_opacity" type="float" setter="set_minimap_opacity" getter="get_minimap_opacity" default="0.65"> The opacity of the minimap rectangle. </member> - <member name="minimap_size" type="Vector2" setter="set_minimap_size" getter="get_minimap_size" default="Vector2(240, 160)"> + <member name="minimap_size" type="Vector2" setter="set_minimap_size" getter="get_minimap_size" default="Vector2( 240, 160 )"> The size of the minimap rectangle. The map itself is based on the size of the grid area and is scaled to fit this rectangle. </member> <member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" override="true" default="true" /> @@ -326,6 +332,8 @@ <theme_item name="grid_minor" type="Color" default="Color( 1, 1, 1, 0.05 )"> Color of minor grid lines. </theme_item> + <theme_item name="minimap" type="Texture2D"> + </theme_item> <theme_item name="minus" type="Texture2D"> The icon for the zoom out button. </theme_item> |