Color.Multiply Method

Multiply each color component by the scale factor.

Syntax

'Declaration
Public Shared Function Multiply ( _
         value As Color, _
         scale As Single _
) As Color 
public static Color Multiply (
         Color value,
         float scale
)
public:
static Color Multiply(
         Color value,
         float scale
)

Parameters

  • value
    Type: Color
    The source, four-component color.
  • scale
    Type: Single
    The scale factor.

Return Value

Type: Color
A four-component color.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone