WoW:API Frame CreateTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{Stub/API}}
{{widgetmethod}}
{{widgetmethod}}
<center>'''Frame:CreateTexture'''</center>
Good for solid color backgrounds instead of using the SetBackdrop function.
Good for solid color backgrounds instead of using the SetBackdrop function.



Revision as of 19:15, 14 April 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])