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

rects = CenterRectArrayOnPoint(rects, x, y)

Centers a group of rectangles 'rects' on a given
coordinate (x,y). The center of the bounding box
of all given 'rects' is placed onto position (x,y)
by shifting the whole set of 'rects' accordingly.

Also see PsychRects.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/CenterRectArrayOnPoint.m
⚠️ **GitHub.com Fallback** ⚠️