Class: Gosu::HSV

Inherits:
Struct
  • Object
show all
Defined in:
lib/gosu_android/graphics/color.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hObject

Returns the value of attribute h

Returns:

  • (Object)

    the current value of h



5
6
7
# File 'lib/gosu_android/graphics/color.rb', line 5

def h
  @h
end

#sObject

Returns the value of attribute s

Returns:

  • (Object)

    the current value of s



5
6
7
# File 'lib/gosu_android/graphics/color.rb', line 5

def s
  @s
end

#vObject

Returns the value of attribute v

Returns:

  • (Object)

    the current value of v



5
6
7
# File 'lib/gosu_android/graphics/color.rb', line 5

def v
  @v
end