Class: GD::GIS::LegendItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/gd/gis/legend.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



5
6
7
# File 'lib/gd/gis/legend.rb', line 5

def color
  @color
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



5
6
7
# File 'lib/gd/gis/legend.rb', line 5

def label
  @label
end