class Fox::Canvas::ImageShape
Attributes
image[RW]
Public Class Methods
new(x, y, image)
click to toggle source
# File lib/fox16/canvas.rb, line 295 def initialize(x, y, image) @image = image end
Public Instance Methods
draw(dc)
click to toggle source
# File lib/fox16/canvas.rb, line 299 def draw(dc) dc.drawImage(image) end