lib/dedalus/elements/text.rb in dedalus-0.1.2 vs lib/dedalus/elements/text.rb in dedalus-0.2.0

- old
+ new

@@ -1,10 +1,9 @@ module Dedalus module Elements class Text < Dedalus::Atom attr_accessor :text, :scale, :padding - def render(*) x,y = *position font.draw(text, x + padding, y + padding, ZOrder::Text, self.scale, self.scale) # draw_bounding_box(origin: [x,y], dimensions: dimensions)