class

GSDL::Draw::DrawLineCommand

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

Constructors

new(z_index : Int32, color : Color, x1 : Float32, y1 : Float32, x2 : Float32, y2 : Float32, scale_x : Float32, scale_y : Float32, clip_rect : SDL3::Rect | Nil = nil)
Source

Instance methods

clipped_out?
Source
x1=(x1 : Float32)
Source
x2=(x2 : Float32)
Source
y1=(y1 : Float32)
Source
y2=(y2 : Float32)
Source