Files
Paint2/Paint_2/PaintTool.cs

24 lines
558 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace Paint_2
{
internal interface PaintTool
{
List<List<Point>> Drawings { get; set; }
List<Color> Colors { get; set; }
Color Color { get; set; }
List<int> Widths { get; set; }
int Width { get; set; }
void Start(Point point,Color color,int width);
void Stop(Point point);
void Add(Point point);
void Paint(Bitmap canvas);
}
}