The rotation attribute specifies an angle of rotation with which the stimulus should be presented.
or
/ rotation = expressionName | Type | Description |
---|---|---|
degrees | number | A negative or positive number indication the degrees of rotation. |
expression | value | An expression that resolves to negative or positive number indication the degrees of rotation. |
This attribute allows visual stimuli to be rotated at an arbitrary angle (in degrees) on the screen. The default (no rotation) is 0 degrees. Positive angles rotate clockwise, and negative angles rotate counter clockwise.
The following text is rotated 180 degrees (upside down) when presented:
<text option1>
/ items=("1.jpg", "2.jpg", "3.jpg")
/ rotate=180
</text>