public async Task ShowMessage( string message, float scrollSpeed = 0.1f, RgbColor textColor = null, RgbColor backgroundColor = null) { textColor = textColor ?? RgbColor.CreateWhite(); backgroundColor = backgroundColor ?? RgbColor.CreateBlack(); await ExecuteAsync( "showMessage", new PythonArgument(message, true), new PythonArgument(scrollSpeed), new PythonArgument(textColor.AsString()), new PythonArgument(backgroundColor.AsString())); }
public void SetAllColors(RgbColor color) { _pixelsWithPositions.ForEach(pix => pix.Pixel.SetColor(color)); }