struct Animatis::Kolor

Defined in:

animatis.cr

Constructors

Instance Method Summary

Constructor Detail

def self.hsv_new(h : Int32 = 360, s : Int32 = 100, v : Int32 = 100) : Kolor #

[View source]
def self.new(red : Int32 = 255, green : Int32 = 255, blue : Int32 = 255, alpha : Int32 = 255) #

[View source]
def self.new(hex : String) #

[View source]

Instance Method Detail

def alpha : Int32 #

[View source]
def alpha=(alpha : Int32) #

[View source]
def blue : Int32 #

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

[View source]
def green : Int32 #

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

[View source]
def hex #

[View source]
def red : Int32 #

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

[View source]
def rgb #

[View source]
def rgba #

[View source]