Example #1
0
 public SelectionTimeoutToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Example #2
0
 protected ToolState(ObjectSelectTool tool)
 {
     Tool = tool;
 }
Example #3
0
 public SelectionStandbyToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Example #4
0
            public SelectionRotatingToolState(ObjectSelectTool tool, ObjectInstance hitObject)
                : base(tool)
            {
                HitObject = hitObject;
                InitialPosition = hitObject.Position;
                InitialCenter = hitObject.ImageBounds.Center;
                InitialAngle = hitObject.Rotation;

                float radius = Tool.MaxBoundingDiagonal(HitObject) / 2 + 5;
                Annot = new CircleAnnot(HitObject.ImageBounds.Center, radius);
                Annot.Outline = Outline;
                Annot.OutlineGlow = OutlineGlow;
                Tool._annots.Add(Annot);
            }
Example #5
0
 public SelectionMovingToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Example #6
0
 public SelectionAreaToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Example #7
0
 public ReleaseToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }