ColorFromInteger Method (Int32, ColorFormat) |
Returns an Color representation of the specified integer.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static Color FromInteger(
int color,
ColorFormat colorFormat
)
Parameters
- color
- Type: SystemInt32
The color to convert. - colorFormat
- Type: SampSharp.Entities.SAMPColorFormat
The ColorFormat to use in the conversion.
Return Value
Type:
ColorA Color representation of the input.
See Also