Class: CTioga2::Graphics::Styles::MultiColumnLegendStyle
- Inherits:
-
BasicStyle
- Object
- BasicStyle
- CTioga2::Graphics::Styles::MultiColumnLegendStyle
- Defined in:
- lib/ctioga2/graphics/styles/legend.rb
Constant Summary
Constants inherited from BasicStyle
BasicStyle::AllStyles, BasicStyle::OldAttrAccessor
Instance Method Summary collapse
-
#initialize ⇒ MultiColumnLegendStyle
constructor
A new instance of MultiColumnLegendStyle.
Methods inherited from BasicStyle
alias_for, aliases, attr_accessor, attribute_type, attribute_types, attributes, convert_string_hash, defined_aliases, deprecated_attribute, from_hash, inherited, #instance_variable_defined?, normalize_hash, normalize_in, normalize_out, options_hash, #set_from_hash, sub_style, sub_styles, #to_hash, typed_attribute, #update_from_other, #use_defaults_from
Constructor Details
#initialize ⇒ MultiColumnLegendStyle
Returns a new instance of MultiColumnLegendStyle.
109 110 111 112 113 114 |
# File 'lib/ctioga2/graphics/styles/legend.rb', line 109 def initialize() @dx = Types::Dimension.new(:dy, 0.2, :x) @columns = 2 end |