[Complex Text Layouts] Add TextServer documentation. Update Font, CanvasItem, Theme and modified controls documentation.
This commit is contained in:
@ -18,6 +18,13 @@
|
||||
Disables all input and output slots of the GraphNode.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_opentype_features">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
Removes all OpenType features.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_slot">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -95,6 +102,15 @@
|
||||
Returns the type of the output connection [code]idx[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_opentype_feature" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="tag" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Returns OpenType feature [code]tag[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_slot_color_left" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
@ -149,6 +165,17 @@
|
||||
Returns [code]true[/code] if right (output) slot [code]idx[/code] is enabled, [code]false[/code] otherwise.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_opentype_feature">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="tag" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Sets OpenType feature [code]tag[/code]. More info: [url=https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags]OpenType feature tags[/url].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_slot">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -184,6 +211,9 @@
|
||||
<member name="comment" type="bool" setter="set_comment" getter="is_comment" default="false">
|
||||
If [code]true[/code], the GraphNode is a comment node.
|
||||
</member>
|
||||
<member name="language" type="String" setter="set_language" getter="get_language" default="""">
|
||||
Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.
|
||||
</member>
|
||||
<member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" override="true" enum="Control.MouseFilter" default="0" />
|
||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||
The offset of the GraphNode, relative to the scroll offset of the [GraphEdit].
|
||||
@ -203,6 +233,9 @@
|
||||
If [code]true[/code], the close button will be visible.
|
||||
[b]Note:[/b] Pressing it will only emit the [signal close_request] signal, the GraphNode needs to be removed manually.
|
||||
</member>
|
||||
<member name="text_direction" type="int" setter="set_text_direction" getter="get_text_direction" enum="Control.TextDirection" default="0">
|
||||
Base text writing direction.
|
||||
</member>
|
||||
<member name="title" type="String" setter="set_title" getter="get_title" default="""">
|
||||
The text displayed in the GraphNode's title bar.
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user