up Inquisit Language Reference

picture element

The picture element defines a set of pictures items and controls how they are displayed.

Syntax

<picture picturename>
/ animation = circle(duration, loopcount, start, xcenter, ycenter, radius) or path(duration, loopcount, x1, y1, x2, y2, x3, y3, ...) or points(duration, loopcount, x1, y1, x2, y2, x3, y3, ...)
/ dropposition = (x value, y value) or (x constant, y constant)
/ dropsource = value or boolean
/ droptarget = property or boolean
/ erase = true(red value, green value, blue value) or true(color value) or true(color name) or false
/ halign = alignment
/ height = integer expression
/ hposition = x expression
/ items = itemname or ("item", "item", "item",... )
/ monitor = integer
/ onprepare = [expression; expression; expression; ...]
/ position = (x value, y value)
/ resetinterval = integer
/ select = integer or selectionmode or selectionmode(pool) or dependency(stimulusname) or dependency(listname) or listname
/ size = (width variable, height variable)
/ transparentcolor = (red value, green value, blue value)
/ valign = alignment
/ vposition = y expression
/ width = integer expression
</picture>

Properties

picture.picturename.bottom
picture.picturename.currentindex
picture.picturename.currentitem
picture.picturename.currentitemnumber
picture.picturename.currentvalue
picture.picturename.dropsource
picture.picturename.droptarget
picture.picturename.dropx
picture.picturename.dropy
picture.picturename.erase
picture.picturename.erasecolor
picture.picturename.erasecolorblue
picture.picturename.erasecolorgreen
picture.picturename.erasecolorred
picture.picturename.height
picture.picturename.hposition
picture.picturename.itemcount
picture.picturename.items
picture.picturename.left
picture.picturename.name
picture.picturename.nextindex
picture.picturename.nextvalue
picture.picturename.playthrough
picture.picturename.resetinterval
picture.picturename.right
picture.picturename.selectedcount
picture.picturename.skip
picture.picturename.stimulusonset
picture.picturename.timestamp
picture.picturename.top
picture.picturename.typename
picture.picturename.unselectedcount
picture.picturename.vposition
picture.picturename.width

Functions

picture.picturename.appenditem
picture.picturename.clearitems
picture.picturename.insertitem
picture.picturename.item
picture.picturename.removeitem
picture.picturename.resetselection
picture.picturename.setitem

Remarks

The picture element determines how picture items are selected (e.g., randomly, in sequence, etc.) along with the location on the screen at which they are presented.

Examples

The following defines a set of picture items presented on the right side of the screen:

<picture moutains>
/ items = ("rainier.bmp", "baker.jpg", "sainthelens.gif")
/ position = (75, 50)
</picture>

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