Page History: Renderer Element
Compare Page Revisions
Page Revision: 2011/07/12 06:28
Renderer is perhaps the most used element for delivering visual stimuli. The element can load and render any library item that contains static graphics. Such library items include bitmap images in any format plus XAML vector graphics.
Element Description
Renderer elements renders a content of the selected library item inside of a selected rectangular area on the screen. The rendering can be tuned with various properties of the Renderer element. For example, you can adjust the size and contrast of the original graphics item and set its rotation angle.
Each Renderer element works with a its own list of loaded Library items. It's handy for experimental scenarios where you need to present a visual stimulus selected randomly from a stimulus set. You can form a list by simply dragging library items to a Renderer element in the Element Panel. The items included in the list can be always reordered such that each item has its own integer index. Renderer elements has a property that defines which item is currenlty selected and rendered on the screen. Changing this property will cause rendering of a new item.
The list of Renderer properties:
Properties of Renderer Element
Properties inherited from clVisualElement
Name | Description | Attributes | Value Type |
---|
VISUAL APPEARANCE |
Is Opacity Mask | Indicates if the element is used to make an opacity mask for the surface of the parent event. If true, the element does render a Library item directly. Instead, the original pixels are used to estimate the opacity of the corresponding pixels on the parent event surface. The brighter is a single pixel of the element the more transparent will be the corresponding pixel on the surface. The black pixels mean no transparency and the white ones mean full transparency. | D | Boolean |
Position | Defines the position (Cartesian or radial) of element's rendering area on the screen | D,R,* | clPoint |
Size | Defines the size (pixels or visual degrees) of element's rendering area on the screen | D,R,* | clSize |
Z Order | Indicates the depth order of the element on the surface of the parent event. The value is calculated out of the Renderer position in the event's elements list. | R,ReadOnly | Int32 |
Alignment | Defines the alignment of the rendering area of the element relatively to its position. The default value is the central alignment. | D,R,* | stAlignment/Int32 |
Visible | Defines if the element is currently visible. | D,R,* | Boolean |
Rotation Angle | Defines the rotation angle of a rendered content around the current element position. The angle is in degrees which originate from the right-most axis (0 degree- no rotation) and goes anti-clockwise until 360. | D,R,* | Boolean |
+=== Properties inherited from clLibraryElement ===
Name | Description | Constraints | Value Type | Upon Runtime Change |
---|
Material List |
Selected Index | Defines the index of the active item in the material list of the element. | | Int32 | A change causes the current item to be reloaded and an update of the element. |
Selected Item | Defines the name of the active item in the material list of the element. The name matches to a name of item in the Material Library | | String | A change causes the current item to be reloaded and an update of the element. |
Item Count | Returns the total number of items in the material list of the element. | | Int32 |
Equalize RGB | The property is only available in the visual element. If the value is true, the average RGB pixel intensity will be equalized across all items in the material list. You can turn on this property, when you need to obtain a luminance-balanced set of visual stimulus. | | Boolean | |
+=== Properties inherited from clElement ===
Inherited properties of clElement
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run. | | Boolean |
|
Title | Title of the element. | | String |
|