|
42 | 42 | <return type="Variant" /> |
43 | 43 | <param index="0" name="id" type="RID" /> |
44 | 44 | <description> |
45 | | - Returns the metadata of the accessibility element. |
| 45 | + Returns the metadata of the accessibility element [param id]. |
46 | 46 | </description> |
47 | 47 | </method> |
48 | 48 | <method name="accessibility_element_set_meta"> |
49 | 49 | <return type="void" /> |
50 | 50 | <param index="0" name="id" type="RID" /> |
51 | 51 | <param index="1" name="meta" type="Variant" /> |
52 | 52 | <description> |
53 | | - Sets the metadata of the accessibility element. |
| 53 | + Sets the metadata of the accessibility element [param id] to [param meta]. |
54 | 54 | </description> |
55 | 55 | </method> |
56 | 56 | <method name="accessibility_free_element"> |
57 | 57 | <return type="void" /> |
58 | 58 | <param index="0" name="id" type="RID" /> |
59 | 59 | <description> |
60 | | - Frees an object created by [method accessibility_create_element], [method accessibility_create_sub_element], or [method accessibility_create_sub_text_edit_elements]. |
| 60 | + Frees the accessibility element [param id] created by [method accessibility_create_element], [method accessibility_create_sub_element], or [method accessibility_create_sub_text_edit_elements]. |
61 | 61 | </description> |
62 | 62 | </method> |
63 | 63 | <method name="accessibility_get_window_root" qualifiers="const"> |
|
870 | 870 | <method name="get_primary_screen" qualifiers="const"> |
871 | 871 | <return type="int" /> |
872 | 872 | <description> |
873 | | - Returns index of the primary screen. |
| 873 | + Returns the index of the primary screen. |
874 | 874 | [b]Note:[/b] This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns [code]0[/code]. |
875 | 875 | </description> |
876 | 876 | </method> |
|
1752 | 1752 | <return type="Color" /> |
1753 | 1753 | <param index="0" name="position" type="Vector2i" /> |
1754 | 1754 | <description> |
1755 | | - Returns color of the display pixel at the [param position]. |
1756 | | - [b]Note:[/b] This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns [Color]. |
1757 | | - [b]Note:[/b] On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will only contain the desktop wallpaper, the current application's window, and other related UI elements. |
| 1755 | + Returns the color of the pixel at the given screen [param position]. On multi-monitor setups, the screen position is relative to the virtual desktop area. |
| 1756 | + [b]Note:[/b] This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns [code]Color(0, 0, 0, 1)[/code]. |
| 1757 | + [b]Note:[/b] On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a color from a screenshot that will not include other application windows or OS elements not related to the application. |
1758 | 1758 | </description> |
1759 | 1759 | </method> |
1760 | 1760 | <method name="screen_get_position" qualifiers="const"> |
|
0 commit comments