up Inquisit Language Reference

canvasaspectratio attribute

The canvasaspectratio attribute defines the relative height and width of the bounding rectangle within which visual stimuli are positioned on the screen.

Member of



/ canvasaspectratio = (width, height)


width The width of the aspect ratio.
height The height of the aspect ratio.


The canvasaspectratio attribute can be used in combination with the canvasassize and canvasposition attributes to define a rectangle on the screen relative to which all visual stimuli and sized and positioned. These attributes that the relative size and position of stimuli on the screen remains the same across monitors of different shapes and sizes..


The following ensures that visual stimuli are presented in a rectangle that has the same proportions as an 8.5 x 11 inch sheet of paper and with margins around the screen no smaller than 20%.

/ canvassize=(80%, 80%)
/ canvasaspectratio=(8.5, 11)

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.