struct CP::Space::DebugDraw::Color

Overview

Color type to use with the space debug drawing API.

Defined in:

chipmunk/debug_draw.cr

Constructors

Instance Method Summary

Constructor Detail

def self.gray(l : Float, a : Float = 1.0_f32) : self #

[View source]
def self.new(r : Float, g : Float, b : Float, a : Float = 1.0_f32) #

[View source]

Instance Method Detail

def a : Float32 #

[View source]
def a=(a : Float32) #

[View source]
def b : Float32 #

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

[View source]
def g : Float32 #

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

[View source]
def r : Float32 #

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

[View source]