Line | |
---|
1 | using System.Drawing;
|
---|
2 | namespace Netron.Diagramming.Core {
|
---|
3 | /// <summary>
|
---|
4 | /// Defines a custom painting style.
|
---|
5 | /// </summary>
|
---|
6 | public interface IPaintStyle {
|
---|
7 | // ------------------------------------------------------------------
|
---|
8 | /// <summary>
|
---|
9 | /// Occurs when this paint style is changed.
|
---|
10 | /// </summary>
|
---|
11 | // ------------------------------------------------------------------
|
---|
12 | event PaintStyleChangedEventHandler PaintStyleChanged;
|
---|
13 |
|
---|
14 | /// <summary>
|
---|
15 | /// Gets the brush with which an entity can be painted.
|
---|
16 | /// </summary>
|
---|
17 | /// <param name="rectangle">The rectangle.</param>
|
---|
18 | /// <returns></returns>
|
---|
19 | Brush GetBrush(Rectangle rectangle);
|
---|
20 |
|
---|
21 | }
|
---|
22 |
|
---|
23 |
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.