12345678910111213141516171819202122 |
- using PaintDotNet.Annotation.Enum;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace PaintDotNet.Annotation.Measure
- {
- public abstract class ToolMeasureObject : ToolObject
- {
- public static new void OnMouseNotLeftDown(ISurfaceBox surfacebox, DrawObject o)
- {
- if (surfacebox.ContinuousDrawingMeasure() && o == null)
- {
- surfacebox.ActiveTool = DrawToolType.Pointer;
- surfacebox.SetContinuousDrawingMeasure(false);
- }
- }
- }
- }
|