public void Execute() { // currentShape.Width = newWidth; // currentShape.Height = newHeight; // currentShape.X = newX; // currentShape.Y = newY; // currentShape.Load(); currentShape.Accept(resizeVisitor); }
public void Execute() { shape.Accept(moveVisitor); shape.GenerateTransformRect(); }