Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/ITracker.cs @ 13400

Last change on this file since 13400 was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 871 bytes
Line 
1using System.Drawing;
2namespace 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
9    /// <summary>
10    /// Returns the relative coordinate of the grip-point hit, if any, of the tracker.
11    /// </summary>
12    /// <param name="p"></param>
13    /// <returns></returns>
14    Point Hit(Point p);
15
16    /// <summary>
17    /// Maps the tracker specified rectangle.
18    /// </summary>
19    /// <param name="rectangle">The rectangle.</param>
20    void Transform(Rectangle rectangle);
21
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  }
28}
Note: See TracBrowser for help on using the repository browser.