Game::Texture
Inherits Reference < Object
Constructors
new(image : Image)
Sourcenew(filename : String)
Sourcenew
SourceClass methods
get(filename, image : Image)
Sourceload(image : Image)
Sourceload(filename)
SourceInstance methods
draw(x, y, rotation = 0, scale = 1, tint = Color::White)
Sourceget(filename, image : Image)
Sourceheight(*args, **options)
Sourceheight(*args, **options, &)
Sourceload(image : Image)
Sourceload(filename : String)
Sourcetexture
Sourceto_image
Sourceto_struct
Sourceunload
Sourcewidth(*args, **options)
Sourcewidth(*args, **options, &)
Source