red_from_int


Description:

public static uint8 red_from_int (int color)

Extracts the red value from the integer value serialized by Granite.Drawing.Color.to_int.

Returns:

the red channel value as a uint8 ranging from 0 - 255.