Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/IPaintable.cs @ 2768

Last change on this file since 2768 was 2768, checked in by mkommend, 14 years ago

added solution folders and sources for the netron library (ticket #867)

File size: 649 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Drawing;
5namespace Netron.Diagramming.Core
6{
7    /// <summary>
8    /// The interface of something that can be painted on the canvas.
9    /// </summary>
10    public interface IPaintable
11    {
12        /// <summary>
13        /// The bounds of the paintable entity
14        /// </summary>
15        Rectangle Rectangle
16        {
17            get;           
18        }
19
20        /// <summary>
21        /// Paints the entity using the given graphics object
22        /// </summary>
23        /// <param name="g"></param>
24        void Paint(Graphics g);
25    }
26}
Note: See TracBrowser for help on using the repository browser.