Returns an Color representation of the specified string.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static Color FromString(
string input,
ColorFormat colorFormat
)
Parameters
- input
- Type: SystemString
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