Kit Documentation
Kit Documentation
Kit Reference
Kit
ColorExtensions Class
ColorExtensions Methods
Copy Method
CopyAlpha Method
CopyBlue Method
CopyGreen Method
CopyRed Method
SetAlpha Method
SetBlue Method
SetGreen Method
SetRed Method
ColorExtensions
CopyRed Method
Copy red component and return the
Color
.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
Color
CopyRed
(
this
Color
color
,
Color
from
)
Request Example
View Source
Parameters
color
Type:
Color
from
Type:
Color
Return Value
Type:
Color
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Color
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
ColorExtensions Class
Kit Namespace
Send comments on this topic to
agam@frag-games.com