Files
UseCase_Designer/UseCases/IDrawable.cs
2018-02-21 09:40:31 +01:00

24 lines
645 B
C#

using System.Drawing;
namespace UseCases
{
public interface IDrawable
{
/// <summary>
/// The name of the drawable.
/// </summary>
string Name { get; set; }
/// <summary>
/// The position of the drawable
/// </summary>
Point Position { get; set; }
/// <summary>
/// Draw the drawable
/// </summary>
/// <param name="g">The graphics to draw to</param>
/// <param name="font">The font to draw text with</param>
/// <param name="p">The pen to draw lines with</param>
void Draw(Graphics g, Font font, Pen p);
}
}