Class: Dedalus::PatternLibrary::Code

Inherits:
Elements::Paragraph show all
Defined in:
lib/dedalus/pattern_library/atoms/code.rb

Instance Attribute Summary

Attributes inherited from Elements::Text

#padding, #scale, #text

Attributes inherited from Atom

#padding, #scale

Attributes inherited from Element

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

Instance Method Summary collapse

Methods inherited from Elements::Paragraph

#padding, #scale

Methods inherited from Elements::Text

description, #dimensions, example_data, #height, #render, #width

Methods inherited from Element

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

Constructor Details

This class inherits a constructor from Dedalus::Element

Instance Method Details

#fontObject



4
5
6
# File 'lib/dedalus/pattern_library/atoms/code.rb', line 4

def font
  code_font
end