Method: Gosu::Color#value

Defined in:
rdoc/gosu.rb

#valueFloat

Returns the color’s value in the range [0.0; 1.0].

Returns:

  • (Float)

    the color’s value in the range [0.0; 1.0].



151
152
153
# File 'rdoc/gosu.rb', line 151

def value
  @value
end