class

GSDL::Cursor

Inherits Reference < Object

Constructors

create_from_surface(surface : Surface, hot_x : Int32 = 0, hot_y : Int32 = 0, source_rect : Rect | Nil = nil, centered : Bool = false) : Cursor
Source
create_system(id : LibSDL3::SystemCursor) : Cursor
Source
get_system(id : LibSDL3::SystemCursor) : Cursor
Source
load(path_key : String, hot_x : Int32 = 0, hot_y : Int32 = 0, source_rect : Rect | Nil = nil, centered : Bool = false) : Cursor
Source
new(cursor : SDL3::Mouse::Cursor)
Source

Instance methods

destroy
Source
to_sdl
Source