Method: Gosu::Color.from_hsv

Defined in:
rdoc/gosu.rb

.from_hsv(h, s, v) ⇒ Color

Converts an HSV triplet to an opaque color.

Parameters:

  • h (Float)

    the color’s hue in the range [0.0; 360.0).

  • s (Float)

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

  • v (Float)

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

Returns:

  • (Color)

    a color corresponding to the HSV triplet.

See Also:



205
# File 'rdoc/gosu.rb', line 205

def self.from_hsv(h, s, v); end