8 July 2009, he signed a contract extension with the Raptors that paid him US$50 million over five seasons, starting in 2010–11. 2009–10 season Bargnani's form and numbers continued in the 2009–10 season. In the first ten games, the center averaged 19.3 points, 5.7 rebounds and 1.1 blocks per game; by mid-season, he had seven double doubles, a career-high. Toronto struggled at the start of the season, going as low as six games below .500, but reached the midpoint with a 21–20 record. On 2 February 2010, Bargnani scored a career-high 34 points in a loss against the Indiana Pacers; he later scored 33 in a game against the Detroit Pistons. Although Toronto were six games above .500 at one point, their form spiralled downwards after the All-Star break. Coupled with two separate injuries to Chris Bosh, Toronto slid from the fifth seed to the eighth, and were subsequently locked in a race with Chicago for the final spot. That spot was only decided on the final day, when Chicago won their last game and ended the season 41–41, one game ahead of Toronto. On Bargnani's part, he averaged career-highs in points, rebounds, blocks, and minutes. 2010–11 season Toronto's franchise player Chris Bosh opted to leave for Miami as a free agent after his contract with the Raptors was up. As a result, Bargnani became the focal point of Toronto's offense. On 8 December 2010, he scored a career-high 41 points in a losing effort against the New York Knicks. Bargnani had a career year, averaging 21 points, 5 rebounds and 1 block. 2011–12 season During the 2011 NBA lockout, Bargnani chose not to sign overseas and decided instead to work on his game and develop into more of a power forward following the Raptors' acquisition of Lithuanian center Jonas Valančiūnas in the 2011 NBA draft. On 28 March 2012, in a game against the Denver Nuggets, Bargnani scored 26 points and became the 4th player to ever score 6000 points as a Raptor. 2012–13 season After managing the first 21 games of the season, Bargnani missed the next two months of action with the Raptors following an elbow injury in early December. He returned to the line-up on 6 February 2013, but after managing another 14 games, he was ruled out for the rest of the season on 13 March because of the same injury. New York Knicks (2013–2015)