class

Godot::TextureRect

Inherits Godot::Control < Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

expand_mode

Property expand_mode getter

Source
expand_mode=(val : Int)

Property expand_mode setter

Source
flip_h

Property flip_h getter

Source
flip_h=(val)

Property flip_h setter

Source
flip_h?
Source
flip_v

Property flip_v getter

Source
flip_v=(val)

Property flip_v setter

Source
flip_v?
Source
get_expand_mode
Source
get_stretch_mode
Source
get_texture
Source
is_flipped_h
Source
is_flipped_v
Source
set_expand_mode(expand_mode : Int64) : Void
Source
set_flip_h(enable : Bool) : Void
Source
set_flip_v(enable : Bool) : Void
Source
set_stretch_mode(stretch_mode : Int64) : Void
Source
set_texture(texture : Texture2D) : Void
Source
stretch_mode

Property stretch_mode getter

Source
stretch_mode=(val : Int)

Property stretch_mode setter

Source
texture

Property texture getter

Source
texture=(val)

Property texture setter

Source

Nested types