API ScriptRegion GetRect

Returns the coords and size of the region.
 left, bottom, width, height = ScriptRegion:GetRect()
 = ScriptRegion:GetScaledRect()
==Returns==
Returns nil if the region has no points.
:;left: - Bottom side of the screen to the bottom edge of the region. 
:;bottom: - Left side of the screen to the left edge of the region. 
:;width: - Distance between the left and right edges.
:;height: - Distance between the bottom and top edges.
==Example==
GetScaledRect() is the result of multiplying by 
local f = CreateFrame("Frame")
f:SetPoint("BOTTOMLEFT", 100, 100)
f:SetSize(25, 25)
f:SetScale(2)
print(f:GetRect()) -- 100, 100, 25, 25
print(f:GetScaledRect()) -- 200, 200, 50, 50
==Patch changes==
==See also==
* UI GetUnscaledFrameRect
*