struct RGB(T)

Defined in:

color/rgb.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(r : T, g : T, b : T) #

[View source]

Class Method Detail

def self.from_hsv(h, s, v) #

[View source]
def self.from_hsv(hsv : HSV) #

[View source]

Instance Method Detail

def b : T #

[View source]
def b=(b : T) #

[View source]
def g : T #

[View source]
def g=(g : T) #

[View source]
def r : T #

[View source]
def r=(r : T) #

[View source]
def rotate(degrees : Float) #

[View source]
def to_hsv #

[View source]