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)
SourceInstance methods
angle
Sourceatlas_handle
Sourceatlas_handle=(atlas_handle : SDL3::Texture | Nil)
Sourceatlas_rect
Sourceatlas_rect=(atlas_rect : FRect | Nil)
Sourcecenter
Sourcecenter=(center : SDL3::FPoint)
Sourceclipped_out?
Sourcedest_rect
Sourcedest_rect=(dest_rect : SDL3::FRect)
Sourcedestroy?
Sourceflip
Sourcehas_tint?
Sourcesort_y
Sourcesource_rect
Sourcesource_rect=(source_rect : SDL3::FRect | Nil)
Sourcetexture
Sourcetexture=(texture : SDL3::Texture)
Sourcetint
Sourcetint_a
Sourcetint_b
Sourcetint_g
Sourcetint_r
Source