RectFromCenterSizeBJ
- Parameters
-
center location
width real
height real
- return type
rect
- Source code
function RectFromCenterSizeBJ takes location center, real width, real height returns rect local real x = GetLocationX( center ) local real y = GetLocationY( center ) return Rect( x - width*0.5, y - height*0.5, x + width*0.5, y + height*0.5 ) endfunction
- Source
- Blizzard.j
- wc3modding.com
- RectFromCenterSizeBJ