Exemple #1
0
        /// <inheritdoc/>
        public override void Move(double dx, double dy)
        {
            if (!TopLeft.State.Flags.HasFlag(ShapeStateFlags.Connector))
            {
                TopLeft.Move(dx, dy);
            }

            if (!BottomRight.State.Flags.HasFlag(ShapeStateFlags.Connector))
            {
                BottomRight.Move(dx, dy);
            }
        }
Exemple #2
0
 /// <summary>
 /// Moves this point by the vector given.
 /// </summary>
 /// <param name="Vector">The vector.</param>
 public override void Move(C2DVector Vector)
 {
     TopLeft.Move(Vector);
     BottomRight.Move(Vector);
 }
Exemple #3
0
 public SpatialExtend AddMargin(double marginInMeters)
 {
     return(new SpatialExtend(TopLeft.Move(-marginInMeters, -marginInMeters), BottomRight.Move(marginInMeters, marginInMeters)));
 }
Exemple #4
0
 public void Move(double dx, double dy)
 {
     TopLeft.Move(dx, dy);
     BotRight.Move(dx, dy);
 }