Class: CTioga2::Graphics::Elements::MapAxisElement
- Inherits:
-
TiogaElement
- Object
- TiogaElement
- CTioga2::Graphics::Elements::MapAxisElement
- Defined in:
- lib/ctioga2/graphics/elements/plot-elements.rb
Overview
This simple wrapper makes it possible to style axes (at least using parents styling)
Constant Summary
Constants inherited from TiogaElement
TiogaElement::StyleBaseOptions
Instance Attribute Summary collapse
-
#style ⇒ Object
Returns the value of attribute style.
Attributes inherited from TiogaElement
#clipped, #depth, #hidden, #location, #object_classes, #object_id, #object_parent, #parent
Instance Method Summary collapse
-
#initialize(parent, opts) ⇒ MapAxisElement
constructor
A new instance of MapAxisElement.
Methods inherited from TiogaElement
all_styles, base_style, #check_styled, define_style, #do, find_object, find_objects, #get_style, #has_style?, inherited, #inspect, register_object, register_style, #setup_style, #style_class, style_class, style_name, #style_name, styled_classes, #update_style
Methods included from Log
context, counts, debug, error, fatal, #format_exception, #identify, info, init_logger, log_to, logger, set_level, #spawn, warn
Constructor Details
#initialize(parent, opts) ⇒ MapAxisElement
Returns a new instance of MapAxisElement.
49 50 51 52 |
# File 'lib/ctioga2/graphics/elements/plot-elements.rb', line 49 def initialize(parent, opts) setup_style(parent, opts) @style = get_style() end |
Instance Attribute Details
#style ⇒ Object
Returns the value of attribute style.
47 48 49 |
# File 'lib/ctioga2/graphics/elements/plot-elements.rb', line 47 def style @style end |