MobileForms Toolkit Documentation

ColorEx.FromColor Method 

Creates a Color structure from the alpha component and color values. Although this method allows a 32-bit value to be passed for alpha component, the value of the alpha component is limited to 8 bits.

public static Color FromColor(
int alpha,
Color color
);

Parameters

alpha
The alpha component. Valid values are 0 through 255.
color
The color component.

Return Value

The Color that this method creates.

See Also

ColorEx Class | Resco.Drawing Namespace