Click or drag to resize

TranslucencyHelper.ExtractTranslucencyFromColor Method

Extracts a translucency value from the alpha channel of a color. This is equivalent to calling AlphaToTranslucency(Int32) on the alpha component of the color.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static float ExtractTranslucencyFromColor(
	Color color
)

Parameters

color
Type: System.Drawing.Color
The color from which to extra translucency.

Return Value

Type: Single
The translucency value.
See Also