/// <summary> /// /// </summary> /// <param name="dx"></param> /// <param name="dy"></param> public override void Move(double dx, double dy) { if (!Point1.State.Flags.HasFlag(ShapeStateFlags.Connector)) { Point1.Move(dx, dy); } if (!Point2.State.Flags.HasFlag(ShapeStateFlags.Connector)) { Point2.Move(dx, dy); } if (!Point3.State.Flags.HasFlag(ShapeStateFlags.Connector)) { Point3.Move(dx, dy); } }
/** * Move a line * * @param deltaX The delta x-location by which the line should be moved -- must be a valid double * @param deltaY The delta y-location by which the line should be moved -- must be a valid double * @throws ShapeException Exception throw if any parameter is invalid */ public override void Move(double deltaX, double deltaY) { Point1.Move(deltaX, deltaY); Point2.Move(deltaX, deltaY); }
public override void Move(double dx, double dy) { Point1.Move(dx, dy); Point2.Move(dx, dy); }
public override void Move(double deltaX, double deltaY, double deltaZ = 0) { Point1.Move(deltaX, deltaY, deltaZ); Point2.Move(deltaX, deltaY, deltaZ); Point3.Move(deltaX, deltaY, deltaZ); }