Click or drag to resize

ColorFromInteger Method (Int32, ColorFormat)

Returns an Color representation of the specified integer.

Namespace:  SampSharp.GameMode.SAMP
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Color FromInteger(
	int color,
	ColorFormat colorFormat
)

Parameters

color
Type: SystemInt32
The color to convert.
colorFormat
Type: SampSharp.GameMode.SAMPColorFormat
The ColorFormat to use in the conversion.

Return Value

Type: Color
A Color representation of the input.
See Also