TH2 Projection on user defined axis / Rotation

Hi,

is it possible to create a projection of a TH2F histogram on another user defined line than the x and y axis? Or has the whole histogram to be rotated in order to make a projection on an axis afterwards?

Thanks!