Skip to content

module SF #

Extended modules

SF

Constants#

SFML_VERSION = "2.5.1" #

VERSION = "2.5.2" #

Methods#

#color(*args, **kwargs) #

Shorthand for Color.new

View source

#float_rect(left : Number, top : Number, width : Number, height : Number) #

Shorthand for FloatRect.new

Converts arguments to Float32

View source

#int_rect(left : Int, top : Int, width : Int, height : Int) #

Shorthand for IntRect.new

Converts arguments to Int32

View source