public static void DrawSolidRect(int x, int y, int height, int width, ColorRGB colorBackground, ColorRGB colorBorder, int tickness = 1) { DrawRect(x, y, height, width, colorBackground, tickness); for (int i = y + 1; i < y + height; i++) { DrawHorizontalLine(x + 1, i, width - 1, colorBorder.Red, colorBorder.Green, colorBorder.Blue); } }
public void SetColor(ColorRGB colorBackground, ColorRGB colorBorder) { this.colorBackground = colorBackground; this.colorBorder = colorBorder; }