/// <summary> /// This function sets the color of a single pixel for pixels contained in a string. Converts format to plain /// </summary> public bool SetPixelColor(Vector2 coordinate, Color color) { if (Format != ImageFormat.plain) { pixels = Convert(ImageFormat.plain); } return(MtaClient.DxSetPixelColor(pixels, (int)coordinate.X, (int)coordinate.Y, color.R, color.G, color.B, color.A)); }