Ejemplo n.º 1
0
 public SelectionTimeoutToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Ejemplo n.º 2
0
 protected ToolState(ObjectSelectTool tool)
 {
     Tool = tool;
 }
Ejemplo n.º 3
0
 public SelectionStandbyToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Ejemplo n.º 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);
            }
Ejemplo n.º 5
0
 public SelectionMovingToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Ejemplo n.º 6
0
 public SelectionAreaToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }
Ejemplo n.º 7
0
 public ReleaseToolState(ObjectSelectTool tool)
     : base(tool)
 {
 }