Export (0) Print
Expand All

Color.FromNonPremultiplied Method

Converts a non-premultipled alpha color to a color that contains premultiplied alpha.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)

public static Color FromNonPremultiplied(
	int r,
	int g,
	int b,
	int a
)

Parameters

r
Type: System.Int32
Red component.
g
Type: System.Int32
Green component.
b
Type: System.Int32
Blue component.
a
Type: System.Int32
Alpha component.

Return Value

Type: Microsoft.Xna.Framework.Color
A four-component color that contains premultiplied alpha.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft