Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/ITracker.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/ITracker.cs
r2768 r4068 1 using System;2 using System.Collections.Generic;3 using System.Text;4 1 using System.Drawing; 5 namespace Netron.Diagramming.Core 6 { 2 namespace Netron.Diagramming.Core { 3 /// <summary> 4 /// The tracker tracks the resize and move of an entity or a group of entities. 5 /// </summary> 6 public interface ITracker : IPaintable { 7 8 7 9 /// <summary> 8 /// The tracker tracks the resize and move of an entity or a group of entities.10 /// Returns the relative coordinate of the grip-point hit, if any, of the tracker. 9 11 /// </summary> 10 public interface ITracker : IPaintable 11 { 12 /// <param name="p"></param> 13 /// <returns></returns> 14 Point Hit(Point p); 12 15 13 14 /// <summary> 15 /// Returns the relative coordinate of the grip-point hit, if any, of the tracker. 16 /// </summary> 17 /// <param name="p"></param> 18 /// <returns></returns> 19 Point Hit(Point p); 16 /// <summary> 17 /// Maps the tracker specified rectangle. 18 /// </summary> 19 /// <param name="rectangle">The rectangle.</param> 20 void Transform(Rectangle rectangle); 20 21 21 /// <summary> 22 /// Maps the tracker specified rectangle. 23 /// </summary> 24 /// <param name="rectangle">The rectangle.</param> 25 void Transform(Rectangle rectangle); 26 27 /// <summary> 28 /// Gets or sets a value indicating whether to show the resizing handles. 29 /// </summary> 30 /// <value><c>true</c> if [show handles]; otherwise, <c>false</c>.</value> 31 bool ShowHandles { get; set;} 32 } 22 /// <summary> 23 /// Gets or sets a value indicating whether to show the resizing handles. 24 /// </summary> 25 /// <value><c>true</c> if [show handles]; otherwise, <c>false</c>.</value> 26 bool ShowHandles { get; set; } 27 } 33 28 }
Note: See TracChangeset
for help on using the changeset viewer.