WoW:API Frame CreateTexture: Difference between revisions
Jump to navigation
Jump to search
Frame:CreateTexture
(New page: Good for solid color backgrounds instead of using the SetBackdrop function. FRAME.texture = FRAME:CreateTexture() texture:SetAllPoints(FRAME) texture:SetTexture(r,g,b[,a])) |
No edit summary |
||
Line 1: | Line 1: | ||
{{widgetmethod}} | |||
<center>'''Frame:CreateTexture'''</center> | |||
Good for solid color backgrounds instead of using the SetBackdrop function. | |||
texture:SetTexture(r,g,b[,a]) | FRAME.texture = FRAME:CreateTexture() | ||
texture:SetAllPoints(FRAME) | |||
texture:SetTexture(r,g,b[,a]) |
Revision as of 09:47, 29 February 2008
← Widget API ← Frame < CreateTexture
Good for solid color backgrounds instead of using the SetBackdrop function.
FRAME.texture = FRAME:CreateTexture() texture:SetAllPoints(FRAME) texture:SetTexture(r,g,b[,a])