Class: LibHokusai::HmlRect
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- LibHokusai::HmlRect
- Defined in:
- ui/lib/lib_hokusai.rb
Class Method Summary collapse
Class Method Details
.create(x, y, w, h) ⇒ Object
208 209 210 211 212 213 214 215 |
# File 'ui/lib/lib_hokusai.rb', line 208 def self.create(x, y, w, h) new.tap do |instance| instance[:x] = x instance[:y] = y instance[:w] = w instance[:h] = h end end |