Widget API: Frame:CreateTexture

From AddOn Studio
Revision as of 19:15, 14 April 2008 by WoWWiki>Pcj
Jump to navigation Jump to search

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])