lib/dedalus/elements.rb in dedalus-0.2.10 vs lib/dedalus/elements.rb in dedalus-0.2.11
- old
+ new
@@ -15,10 +15,10 @@
@fonts[font_name][size]
end
end
class Element
- attr_accessor :position
+ attr_accessor :position, :offset
# in % as 0.0-1.0 (hint to compositing engine for elements in columns/rows respectively)
attr_accessor :width_percent, :height_percent
# raw width/height