Class: CTioga2::Graphics::Styles::MultiColumnLegendStyle

Inherits:
BasicStyle
  • Object
show all
Defined in:
lib/ctioga2/graphics/styles/legend.rb

Constant Summary

Constants inherited from BasicStyle

BasicStyle::AllStyles, BasicStyle::OldAttrAccessor

Instance Method Summary collapse

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

#initializeMultiColumnLegendStyle

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