class

GSDL::Draw::DrawCommand

Inherits Reference < Object

Switch to classes for heap allocation and better release-mode stability

Constructors

new(z_index : Int32, scale_x : Float32, scale_y : Float32, clip_rect : SDL3::Rect | Nil = nil)
Source

Instance methods

clip_rect
Source
clip_rect=(clip_rect : SDL3::Rect | Nil)
Source
clipped_out?
Source
insertion_index
Source
insertion_index=(insertion_index : Int32)
Source
on_screen?(screen_w : Float32, screen_h : Float32) : Bool
Source
scale_x
Source
scale_x=(scale_x : Float32)
Source
scale_y
Source
scale_y=(scale_y : Float32)
Source
z_index
Source
z_index=(z_index : Int32)
Source