Hi!
I need to add an own image to the frame as a background. I have only 1 problem, the image is bigger than frame, example:
frame 300x300
image 600x400
I need to put a part of this image BUT I don't want that other part is visible outside the frame... I already set layer to background, it doesn't help.
Code:
crMapBackground = myframe:CreateTexture(nil,"BACKGROUND")
crMapBackground:SetTexture("Interface\\AddOns\\*\\test_image")
crMapBackground:SetPoint("CENTER",0,0)
how can I make it invisible outside of the frame? Thanks!