Color.FromNonPremultiplied Method (Microsoft.Xna.Framework)
Translate a non-premultipled alpha Color to a Color that contains premultiplied alpha.
- C#
- VB
- F#
public static Color FromNonPremultiplied( Vector4 vector )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- vector
-
Type: Microsoft.Xna.Framework.Vector4
A Vector4 representing color.
Return Value
Type: Microsoft.Xna.Framework.ColorA Color which contains premultiplied alpha data.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web