rtl_screen_offset_testing.gd

Extends: Control

Description

Constants Descriptions

MAX_HEIGHT

const MAX_HEIGHT: int = 500

MIN_HEIGHT

const MIN_HEIGHT: int = 30

ONE_LINE_HEIGHT

const ONE_LINE_HEIGHT: int = 16

Property Descriptions

screen_width

var screen_width

screen_height

var screen_height

global_distance_to_clamp

var global_distance_to_clamp
  • Setter: set_global_dist_clamp

  • Getter: get_global_dist_clamp

path_to_richtextlabel

export var path_to_richtextlabel = ""

max_width

export var max_width = 200

Method Descriptions

set_path_to_richtextlabel

func set_path_to_richtextlabel(path)

set_global_dist_clamp

func set_global_dist_clamp(d)

get_global_dist_clamp

func get_global_dist_clamp()

update_line2d

func update_line2d()

tooltip_distance_to_edge_top

func tooltip_distance_to_edge_top(position: Vector2)

tooltip_distance_to_edge_bottom

func tooltip_distance_to_edge_bottom(position: Vector2)

tooltip_distance_to_edge_left

func tooltip_distance_to_edge_left(position: Vector2)

tooltip_distance_to_edge_right

func tooltip_distance_to_edge_right(position: Vector2)

update_size

func update_size()

Signals

  • signal mouse_moved(position):

  • signal text_selected(text):