ColorLab
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "cd_color_lab_get_type ()" ) ]
[ Compact ]
public class ColorLab
Content:
Creation methods:
- public ColorLab ()
Allocates a color value.
Methods:
- public void @set (double L, double a, double b)
Initialises a color value.
- public void copy (ColorLab dest)
Deep copies a color value.
- public double delta_e76 (ColorLab p2)
Calculates the ΔE of two colors using the 1976 formula.
- public ColorLab dup ()
- public void free ()
Deallocates a color value.
Fields:
- public double L
- public double a
- public double b