struct DFL::Color

Overview

A color

Defined in:

D_File/dfl/graphic.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_raylib(color : Raylib::Color) : Color #

[View source]
def self.new(r : UInt8 = 0, g : UInt8 = 0, b : UInt8 = 0) #

[View source]

Instance Method Detail

def b : UInt8 #

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

[View source]
def g : UInt8 #

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

[View source]
def r : UInt8 #

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

[View source]
def to_raylib : Raylib::Color #

[View source]