Credit: Steven Klein/W

Jennifer Aniston and her Bounty Hunter costar Gerard Butler heat up the April issue of W magazine.

On the cover, Butler, 40, wraps his arms around Aniston, 41, who is wearing $3,800 in duds, including an Alberta Ferretti silk chiffon dress.

The magazine's 13-page pictorial -- shot in mid-January on a ranch outside L.A. -- is titled: "Speed Trap: Jennifer Aniston and Gerard Butler do a little role playing in the searing heat of the California desert where damsels aren't always in distress and lawmen sometimes break the rules."

Interestingly, the photos were taken by famed photographer Steven Klein, who is a pal of both Aniston and her ex Brad Pitt.

Klein also is the mastermind behind W's infamous July 2005 cover featuring Pitt, 46, and Angelina Jolie.

At the time, Aniston had complained about the cover because it was taken soon after her split with Pitt and showed him and Jolie, 34, as a 1960's-style married couple.

"There’s a sensitivity chip that’s missing," she told Vanity Fair of Pitt.