class Raylib::Rectangle
Public Class Methods
create(x = 0, y = 0, width = 0, height = 0)
click to toggle source
# File lib/raylib.rb, line 120 def Rectangle.create(x = 0, y = 0, width = 0, height = 0) instance = Rectangle.new instance[:x] = x instance[:y] = y instance[:width] = width instance[:height] = height return instance end