Class: Dedalus::Atom

Inherits:
Element show all
Defined in:
lib/dedalus/elements.rb

Direct Known Subclasses

Elements::Image, Elements::Text, Elements::Void

Instance Attribute Summary collapse

Attributes inherited from Element

#background_color, #color, #height, #height_percent, #margin, #offset, #position, #shown, #width, #width_percent, #z_order

Method Summary

Methods inherited from Element

#big_font, #code_font, #draw_bounding_box, #font, #huge_font, #initialize, #record?, #tiny_font, #view, #window

Constructor Details

This class inherits a constructor from Dedalus::Element

Instance Attribute Details

#paddingObject

Returns the value of attribute padding.



135
136
137
# File 'lib/dedalus/elements.rb', line 135

def padding
  @padding
end

#scaleObject

Returns the value of attribute scale.



135
136
137
# File 'lib/dedalus/elements.rb', line 135

def scale
  @scale
end