class

GSDL::Draw::DrawTextureCommand

Inherits GSDL::Draw::DrawColorCommand < GSDL::Draw::DrawCommand < Reference < Object

Constructors

new(z_index : Int32, texture : SDL3::Texture, atlas_rect : FRect | Nil, atlas_handle : SDL3::Texture | Nil, source_rect : SDL3::FRect | Nil, dest_rect : SDL3::FRect, scale_x : Float32, scale_y : Float32, angle : Float64 = 0.0, center : SDL3::FPoint = SDL3::FPoint.new, flip : Int32 = 0, color : Color = Color::White, tint : Color | Nil = nil, destroy : Bool = false, clip_rect : SDL3::Rect | Nil = nil, sort_y : Float32 | Nil = nil)
Source

Instance methods

angle
Source
angle=(angle : Float64)
Source
atlas_handle
Source
atlas_handle=(atlas_handle : SDL3::Texture | Nil)
Source
atlas_rect
Source
atlas_rect=(atlas_rect : FRect | Nil)
Source
center
Source
center=(center : SDL3::FPoint)
Source
clipped_out?
Source
dest_rect
Source
dest_rect=(dest_rect : SDL3::FRect)
Source
destroy=(destroy : Bool)
Source
destroy?
Source
flip
Source
flip=(flip : Int32)
Source
has_tint=(has_tint : Bool)
Source
has_tint?
Source
on_screen?(screen_w : Float32, screen_h : Float32) : Bool
Source
sort_y
Source
sort_y=(sort_y : Float32 | Nil)
Source
source_rect
Source
source_rect=(source_rect : SDL3::FRect | Nil)
Source
texture
Source
texture=(texture : SDL3::Texture)
Source
tint
Source
tint_a
Source
tint_a=(tint_a : UInt8)
Source
tint_b
Source
tint_b=(tint_b : UInt8)
Source
tint_g
Source
tint_g=(tint_g : UInt8)
Source
tint_r
Source
tint_r=(tint_r : UInt8)
Source