Bitwig Studio Control Surface API  5.0.11
Color Class Reference

Public Member Functions

String toHex ()
 
double getRed ()
 
double getGreen ()
 
double getBlue ()
 
double getAlpha ()
 
int getRed255 ()
 
int getGreen255 ()
 
int getBlue255 ()
 
int getAlpha255 ()
 

Static Public Member Functions

static Color fromRGB (double red, double green, double blue)
 
static Color fromRGBA (double red, double green, double blue, double alpha)
 
static Color fromRGB255 (final int red, final int green, final int blue)
 
static Color fromRGBA255 (final int red, final int green, final int blue, final int alpha)
 
static Color fromHex (String hex)
 
static Color mix (final Color c1, final Color c2, double blend)
 
static Color nullColor ()
 
static Color blackColor ()
 
static Color whiteColor ()
 

Detailed Description

This class represents an RGBA color with each component being stored as double.

Since
API version 5

Member Function Documentation

◆ mix()

static Color mix ( final Color  c1,
final Color  c2,
double  blend 
)
static

Mixes two colors.

Since
API version 4

The documentation for this class was generated from the following file: