Click or drag to resize

ColorDarken Method

Returns this color darkened specified amount.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public Color Darken(
	float amount,
	bool blendAlpha = false
)

Parameters

amount
Type: SystemSingle
The amount.
blendAlpha (Optional)
Type: SystemBoolean
Whether it also blends alpha.

Return Value

Type: Color
The darkened color.
See Also