RectCenter - aleslab/Psychtoolbox-3-aleslab-fork GitHub Wiki

[x,y] = RectCenter(rect);

[RectCenter](RectCenter) returns the integer x,y point closest to the center of a rect.    

See also [PsychRects](PsychRects), [CenterRectOnPoint](CenterRectOnPoint).  
Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/RectCenter.m
⚠️ **GitHub.com Fallback** ⚠️