WoW:API Frame SetBackdrop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
SetBackdrop({bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }}) | Frame:SetBackdrop({bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }}); | ||
Line 7: | Line 7: | ||
== Example == | == Example == | ||
MinimapCluster:SetBackdrop({bgFile = "Interface | MinimapCluster:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", | ||
edgeFile = "Interface/Tooltips/UI-Tooltip-Border", | |||
tile = true, tileSize = 32, edgeSize = 32, | |||
insets = { left = 0, right = 0, top = 0, bottom = 0 }}); | |||
{{template:WoW API}} | {{template:WoW API}} |
Revision as of 12:50, 11 March 2006
Syntax
Frame:SetBackdrop({bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }});
Using 'nil' as the only parameter will remove the backdrop on the indicated frame.
Example
MinimapCluster:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 32, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }});