# File lib/as_canvas.rb, line 6 def initialize(kx, ky, w, h) @kx, @ky, @w, @h = kx, ky, w, h @pos = vec2(0, 0) @angle = 0.0 @scale = 1.0 end