Line | |
---|
1 | using System.Drawing;
|
---|
2 |
|
---|
3 | namespace Netron.Diagramming.Core {
|
---|
4 | /// <summary>
|
---|
5 | /// Bare bone structure of an entity related to a scaling transformation
|
---|
6 | /// </summary>
|
---|
7 | public struct EntityBone {
|
---|
8 | /// <summary>
|
---|
9 | /// the rectangle of the entity
|
---|
10 | /// </summary>
|
---|
11 | private Rectangle mRectangle;
|
---|
12 | /// <summary>
|
---|
13 | /// the connector points
|
---|
14 | /// </summary>
|
---|
15 | private Point[] mConnectorPoints;
|
---|
16 |
|
---|
17 | /// <summary>
|
---|
18 | /// Gets or sets the rectangle.
|
---|
19 | /// </summary>
|
---|
20 | /// <value>The rectangle.</value>
|
---|
21 | public Rectangle Rectangle {
|
---|
22 | get { return mRectangle; }
|
---|
23 | set { mRectangle = value; }
|
---|
24 | }
|
---|
25 |
|
---|
26 |
|
---|
27 | /// <summary>
|
---|
28 | /// Gets or sets the connector points.
|
---|
29 | /// </summary>
|
---|
30 | /// <value>The connector points.</value>
|
---|
31 | public Point[] ConnectorPoints {
|
---|
32 | get { return mConnectorPoints; }
|
---|
33 | set { mConnectorPoints = value; }
|
---|
34 | }
|
---|
35 | }
|
---|
36 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.