up Inquisit Language Reference

hAlign attribute

The hAlign attribute determines the horizontal alignment of a visual stimulus on the screen relative to the position coordinates.

Member of

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

Syntax

/ hAlign = alignment

Parameters

Name Type Description
alignment halignenum
ValueDescription
centerCenter aligned.
leftLeft aligned.
rightRigth aligned.

Remarks

Horizontal alignment is relative to the position coordinates of the stimulus. Stimuli are center aligned by default.

Examples

The following presents right-aligned text:

<text myText>
/ items = ("ipsum")
/ hAlign = right
</text>

Copyright Millisecond Software, LLC. All rights reserved.