up Inquisit Language Reference

picture element

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

Attributes

<picture name>
/ items = itemname
/ items = (file, file, file,... )

/ transparentColor = (red, green, blue)
/ transparentColor = (redexpression, greenexpression, blueexpression)

/ animation = animation(....)
/ animation = circle(duration, loopCount, start, end, xcenter, ycenter, radius)
/ animation = path(duration, loopCount, x1, y1, x2, y2, x3, y3, ...)
/ animation = points(duration, loopCount, x1, y1, x2, y2, x3, y3, ...)
/ animation = size(duration, loopCount, startWidth, startHeight, scale1, scale2, scale3, ...)
/ animation = rotation(duration, loopCount, degrees1, degrees2, degrees3, ...)

/ dropPosition = (x, y)
/ dropPosition = (xposition, yposition)
/ dropPosition = (xexpression, yexpression)

/ dropSource = boolean
/ dropSource = expression

/ dropTarget = boolean
/ dropTarget = expression

/ erase = true
/ erase = true(colorname)
/ erase = false

/ hAlign = alignment
/ height = height
/ height = expression

/ hJustify = justification
/ hPosition = x
/ hPosition = expression

/ monitor = integer
/ onAnimate = { script }
/ position = (x, y)
/ position = (xexpression, yexpression)

/ rotation = degrees
/ rotation = expression

/ scale = factor
/ size = (width, height)
/ size = (widthexpression, heightexpression)

/ vAlign = alignment
/ vJustify = justification
/ vPosition = y
/ vPosition = expression

/ width = width
/ width = expression

/ onPrepare = { script }
/ resetInterval = integer
/ select = selectmode(stimulus)
/ select = selectmode(list)
/ select = selectmode(integer, integer, integer, ...)
/ select = list
/ select = selectmode
/ select = index

/ selectionRate = rate
</picture>

Properties

picture.name.bottom
picture.name.dropSource
picture.name.dropTarget
picture.name.dropX
picture.name.dropY
picture.name.eraseColor
picture.name.eraseColorBlue
picture.name.eraseColorGreen
picture.name.eraseColorRed
picture.name.height
picture.name.heightPct
picture.name.heightPx
picture.name.hPosition
picture.name.left
picture.name.monitor
picture.name.right
picture.name.rotation
picture.name.scale
picture.name.top
picture.name.vPosition
picture.name.width
picture.name.widthPct
picture.name.widthPx
picture.name.x
picture.name.xPct
picture.name.xPx
picture.name.y
picture.name.yPct
picture.name.yPx
picture.name.currentIndex
picture.name.currentItem
picture.name.currentItemNumber
picture.name.currentValue
picture.name.erase
picture.name.itemCount
picture.name.items
picture.name.nextIndex
picture.name.nextValue
picture.name.playThrough
picture.name.resetInterval
picture.name.selectedCount
picture.name.selectedIndex
picture.name.selectedValue
picture.name.skip
picture.name.stimulusOnset
picture.name.timestamp
picture.name.unselectedCount
picture.name.name
picture.name.typeName

Functions

picture.name.containsPoint
picture.name.appendItem
picture.name.clearItems
picture.name.insertItem
picture.name.item
picture.name.removeItem
picture.name.resetSelection
picture.name.setItem

Remarks

The picture element selects individual image files and presents them on the screen at the specified size, location, and rotation.

The following image formats are supported: bmp, gif, jpeg, jpg, pbm, pgm, png, ppm, tif, tiff, wbmp, webp, xbm, xpm, svg

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>

Copyright Millisecond Software, LLC. All rights reserved.