“addons/escoria-core/testing/rtl_screen_offset_testing.gd”
Extends: Control
Description
Constants
MIN_HEIGHT
const MIN_HEIGHT = 30
MAX_HEIGHT
const MAX_HEIGHT = 500
ONE_LINE_HEIGHT
const ONE_LINE_HEIGHT = 16
Members
path_to_richtextlabel
var path_to_richtextlabel: NodePath
max_width
var max_width: int
global_distance_to_clamp
var global_distance_to_clamp: Variant
screen_width
var screen_width: Variant
screen_height
var screen_height: Variant
Signals
mouse_moved
signal mouse_moved(position: Variant)
text_selected
signal text_selected(text: Variant)
Methods
set_path_to_richtextlabel
func set_path_to_richtextlabel(path: Variant) -> void
set_global_dist_clamp
func set_global_dist_clamp(d: Variant) -> void
get_global_dist_clamp
func get_global_dist_clamp() -> Variant
update_line2d
func update_line2d() -> void
tooltip_distance_to_edge_top
func tooltip_distance_to_edge_top(position: Vector2) -> Variant
tooltip_distance_to_edge_bottom
func tooltip_distance_to_edge_bottom(position: Vector2) -> Variant
tooltip_distance_to_edge_left
func tooltip_distance_to_edge_left(position: Vector2) -> Variant
tooltip_distance_to_edge_right
func tooltip_distance_to_edge_right(position: Vector2) -> Variant
update_size
func update_size() -> void