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/Tools/ZoomOutTool.cs @ 12328

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

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

File size: 809 bytes
Line 
1
2namespace Netron.Diagramming.Core {
3  // ----------------------------------------------------------------------
4  /// <summary>
5  /// Allows the user to incrementally adjust (increase) the magnification.
6  /// </summary>
7  // ----------------------------------------------------------------------
8  public class ZoomOutTool : ZoomToolBase {
9    // ------------------------------------------------------------------
10    /// <summary>
11    /// Constructor.
12    /// </summary>
13    /// <param name="toolName">string: The  name of the tool.</param>
14    // ------------------------------------------------------------------
15    public ZoomOutTool(string toolName)
16      : base(toolName) {
17      // Decrease the magnification by a little to zoom out.
18      base.myZoomFactor = 0.9F;
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.