class Color

Defined in:

color.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(red : Float64, green : Float64, blue : Float64) #

[View source]

Instance Method Detail

def *(other : Float64 | Color) #

[View source]
def +(other : Color) #

[View source]
def -(other : Color) #

[View source]
def ==(other : Color) #

[View source]
def blue : Float64 #

[View source]
def blue=(blue : Float64) #

[View source]
def close_enough(a, b) #

[View source]
def green : Float64 #

[View source]
def green=(green : Float64) #

[View source]
def red : Float64 #

[View source]
def red=(red : Float64) #

[View source]