up Inquisit Language Reference

scale attribute

The scale attribute specifies a scaling factor applied to the size of the stimulus.

Member of

<button> <clock> <html> <picture> <shape> <text> <video>

Syntax

/ scale = factor

Parameters

Name Type Description
factor value An expression resolving to a positive number representing a scaling factor for the size of the stimulus.

Remarks

This attribute allows visual stimuli to be scaled by an arbitrary multiple of their size on the screen. The default (no scale) is 1.0. Values smaller than 1.0 reduce the size of the stimulus while values larger than 1.0 increase the size.

Examples

The following text is scaled 1.5 times when presented:

<text option1>
/ items=("1.jpg", "2.jpg", "3.jpg")
/ scale=1.5
</text>

Copyright Millisecond Software, LLC. All rights reserved.