ChaiLove API  0.28.0
Public Member Functions | Data Fields
love::Types::Graphics::Color Struct Reference

A color, holding red, green, blue and alpha values. More...

Public Member Functions

 Color ()
 Create a color with the value of 0, 0, 0, 0.
 
 Color (int rValue, int gValue, int bValue, int aValue)
 Create a new color.
 
 Color (int rValue, int gValue, int bValue)
 Create a new color.
 

Data Fields

int r
 The amount of red.
 
int g
 The amount of green.
 
int b
 The amount of blue.
 
int a
 The amount of alpha.
 

Detailed Description

A color, holding red, green, blue and alpha values.