Click or drag to resize

TranslucencyHelperExtractTranslucencyFromColor 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: 24.2.419.0 (24.2.419.0)
Syntax
public static float ExtractTranslucencyFromColor(
	Color color
)

Parameters

color
Type: System.DrawingColor
The color from which to extra translucency.

Return Value

Type: Single
The translucency value.
See Also