class
Godot::FontVariation
Defined in:
libgodot/generated/classes/classes_part2.crConstructors
Instance Method Summary
-
#base_font
Property
#base_fontgetter -
#base_font=(val)
Property
#base_fontsetter -
#baseline_offset
Property
#baseline_offsetgetter -
#baseline_offset=(val : Number)
Property
#baseline_offsetsetter - #get_base_font : Font
- #get_baseline_offset : Float64
- #get_palette_custom_colors : Pointer(Void)
- #get_palette_index : Int64
- #get_variation_embolden : Float64
- #get_variation_face_index : Int64
- #get_variation_opentype : Pointer(Void)
- #get_variation_transform : Transform2D
-
#opentype_features
Property
#opentype_featuresgetter -
#opentype_features=(val)
Property
#opentype_featuressetter -
#palette_custom_colors
Property
#palette_custom_colorsgetter -
#palette_custom_colors=(val)
Property
#palette_custom_colorssetter -
#palette_index
Property
#palette_indexgetter -
#palette_index=(val : Int)
Property
#palette_indexsetter - #set_base_font(font : Font) : Void
- #set_baseline_offset(baseline_offset : Float64) : Void
- #set_opentype_features(features : Pointer(Void)) : Void
- #set_palette_custom_colors(colors : Pointer(Void)) : Void
- #set_palette_index(palette_index : Int64) : Void
- #set_spacing(spacing : Int64, value : Int64) : Void
- #set_variation_embolden(strength : Float64) : Void
- #set_variation_face_index(face_index : Int64) : Void
- #set_variation_opentype(coords : Pointer(Void)) : Void
- #set_variation_transform(transform : Transform2D) : Void
-
#spacing_bottom
Property
#spacing_bottomgetter -
#spacing_bottom=(val : Int)
Property
#spacing_bottomsetter -
#spacing_glyph
Property
#spacing_glyphgetter -
#spacing_glyph=(val : Int)
Property
#spacing_glyphsetter -
#spacing_space
Property
#spacing_spacegetter -
#spacing_space=(val : Int)
Property
#spacing_spacesetter -
#spacing_top
Property
#spacing_topgetter -
#spacing_top=(val : Int)
Property
#spacing_topsetter -
#variation_embolden
Property
#variation_emboldengetter -
#variation_embolden=(val : Number)
Property
#variation_emboldensetter -
#variation_face_index
Property
#variation_face_indexgetter -
#variation_face_index=(val : Int)
Property
#variation_face_indexsetter -
#variation_opentype
Property
#variation_opentypegetter -
#variation_opentype=(val)
Property
#variation_opentypesetter -
#variation_transform
Property
#variation_transformgetter -
#variation_transform=(val)
Property
#variation_transformsetter
Instance methods inherited from class Godot::Font
draw_char(canvas_item : Int64, pos : Vector2, char : Int64, font_size : Int64, modulate : Color, oversampling : Float64) : Float64
draw_char,
draw_char_outline(canvas_item : Int64, pos : Vector2, char : Int64, font_size : Int64, size : Int64, modulate : Color, oversampling : Float64) : Float64
draw_char_outline,
draw_multiline_string(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, max_lines : Int64, modulate : Color, brk_flags : Int64, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
draw_multiline_string,
draw_multiline_string_outline(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, max_lines : Int64, size : Int64, modulate : Color, brk_flags : Int64, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
draw_multiline_string_outline,
draw_string(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, modulate : Color, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
draw_string,
draw_string_outline(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, size : Int64, modulate : Color, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
draw_string_outline,
fallbacks
fallbacks,
fallbacks=(val)
fallbacks=,
find_variation(variation_coordinates : Pointer(Void), face_index : Int64, strength : Float64, transform : Transform2D, spacing_top : Int64, spacing_bottom : Int64, spacing_space : Int64, spacing_glyph : Int64, baseline_offset : Float64, palette_index : Int64, custom_colors : Pointer(Void)) : Int64
find_variation,
get_ascent(font_size : Int64) : Float64
get_ascent,
get_char_size(char : Int64, font_size : Int64) : Vector2
get_char_size,
get_descent(font_size : Int64) : Float64
get_descent,
get_face_count : Int64
get_face_count,
get_fallbacks : Godot::Array
get_fallbacks,
get_font_name : String
get_font_name,
get_font_stretch : Int64
get_font_stretch,
get_font_style : Int64
get_font_style,
get_font_style_name : String
get_font_style_name,
get_font_weight : Int64
get_font_weight,
get_height(font_size : Int64) : Float64
get_height,
get_multiline_string_size(text : String, alignment : Int64, width : Float64, font_size : Int64, max_lines : Int64, brk_flags : Int64, justification_flags : Int64, direction : Int64, orientation : Int64) : Vector2
get_multiline_string_size,
get_opentype_features : Pointer(Void)
get_opentype_features,
get_ot_name_strings : Pointer(Void)
get_ot_name_strings,
get_palette_colors(index : Int64) : Pointer(Void)
get_palette_colors,
get_palette_count : Int64
get_palette_count,
get_palette_name(index : Int64) : String
get_palette_name,
get_rids : Godot::Array
get_rids,
get_spacing(spacing : Int64) : Int64
get_spacing,
get_string_size(text : String, alignment : Int64, width : Float64, font_size : Int64, justification_flags : Int64, direction : Int64, orientation : Int64) : Vector2
get_string_size,
get_supported_chars : String
get_supported_chars,
get_supported_feature_list : Pointer(Void)
get_supported_feature_list,
get_supported_variation_list : Pointer(Void)
get_supported_variation_list,
get_underline_position(font_size : Int64) : Float64
get_underline_position,
get_underline_thickness(font_size : Int64) : Float64
get_underline_thickness,
has_char(char : Int64) : Bool
has_char,
is_language_supported(language : String) : Bool
is_language_supported,
is_script_supported(script : String) : Bool
is_script_supported,
set_cache_capacity(single_line : Int64, multi_line : Int64) : Void
set_cache_capacity,
set_fallbacks(fallbacks : Godot::Array) : Void
set_fallbacks
Constructor methods inherited from class Godot::Font
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::Resource
copy_from_resource(resource : Resource) : Int64
copy_from_resource,
duplicate(deep : Bool) : Resource
duplicate,
duplicate_deep(deep_subresources_mode : Int64) : Resource
duplicate_deep,
emit_changed : Void
emit_changed,
generate_scene_unique_id : String
generate_scene_unique_id,
get_id_for_path(path : String) : String
get_id_for_path,
get_local_scene : Node
get_local_scene,
get_name : String
get_name,
get_path : String
get_path,
get_rid : Int64
get_rid,
get_scene_unique_id : String
get_scene_unique_id,
is_built_in : Bool
is_built_in,
is_local_to_scene : Bool
is_local_to_scene,
reset_state : Void
reset_state,
resource_local_to_scene
resource_local_to_scene,
resource_local_to_scene=(val)
resource_local_to_scene=,
resource_local_to_scene?
resource_local_to_scene?,
resource_name
resource_name,
resource_name=(val)
resource_name=,
resource_path
resource_path,
resource_path=(val)
resource_path=,
resource_scene_unique_id
resource_scene_unique_id,
resource_scene_unique_id=(val)
resource_scene_unique_id=,
set_id_for_path(path : String, id : String) : Void
set_id_for_path,
set_local_to_scene(enable : Bool) : Void
set_local_to_scene,
set_name(name : String) : Void
set_name,
set_path(path : String) : Void
set_path,
set_path_cache(path : String) : Void
set_path_cache,
set_scene_unique_id(id : String) : Void
set_scene_unique_id,
setup_local_to_scene : Void
setup_local_to_scene,
take_over_path(path : String) : Void
take_over_path
Constructor methods inherited from class Godot::Resource
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::RefCounted
destroy : Void
destroy,
get_reference_count : Int64
get_reference_count,
init_ref : Bool
init_ref,
reference : Bool
reference,
unreference : Bool
unreference
Constructor methods inherited from class Godot::RefCounted
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::Object
==(other : Godot::Object) : Bool==(other : Nil) : Bool ==, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, add_user_signal(signal : String, arguments : Godot::Array) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Godot::Array) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, cancel_free : Void cancel_free, check_alive! : Void check_alive!, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64) : Int64 connect, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void disconnect, editor_hint? : Bool editor_hint?, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void emit_signal, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Godot::Array get_incoming_connections, get_indexed(property_path : NodePath) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void)) : Pointer(Void) get_meta, get_meta_list : Godot::Array get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Godot::Array get_method_list, get_property_list : Godot::Array get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Godot::Array get_signal_connection_list, get_signal_list : Godot::Array get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_meta(name : String) : Bool has_meta, has_method(method : String) : Bool has_method, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_class(godot_class : String) : Bool is_class, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_queued_for_deletion : Bool is_queued_for_deletion, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_get_revert(property : String) : Pointer(Void) property_get_revert, puts(*args) puts, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal signal, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String) : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String) : String tr_n