Merge pull request #105504 from ExEago/master
`RichTextLabel`: Add methods to compute the height and width of a line
This commit is contained in:
@ -106,6 +106,14 @@
|
||||
[b]Note:[/b] If [member threaded] is enabled, this method returns a value for the loaded part of the document. Use [method is_finished] or [signal finished] to determine whether document is fully loaded.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_line_height" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="line" type="int" />
|
||||
<description>
|
||||
Returns the height of the line found at the provided index.
|
||||
[b]Note:[/b] If [member threaded] is enabled, this method returns a value for the loaded part of the document. Use [method is_finished] or [signal finished] to determine whether the document is fully loaded.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_line_offset">
|
||||
<return type="float" />
|
||||
<param index="0" name="line" type="int" />
|
||||
@ -123,6 +131,14 @@
|
||||
[b]Note:[/b] If [member threaded] is enabled, this method returns a value for the loaded part of the document. Use [method is_finished] or [signal finished] to determine whether document is fully loaded.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_line_width" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="line" type="int" />
|
||||
<description>
|
||||
Returns the width of the line found at the provided index.
|
||||
[b]Note:[/b] If [member threaded] is enabled, this method returns a value for the loaded part of the document. Use [method is_finished] or [signal finished] to determine whether the document is fully loaded.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_menu" qualifiers="const">
|
||||
<return type="PopupMenu" />
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user