Constructor
new MinimalStim(options)
- Source:
Parameters:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Extends
- PsychObject
Methods
(abstract, protected) _updateIfNeeded()
- Source:
Update the stimulus, if necessary.
Note: this is an abstract function, which should not be called.
(abstract) contains(object, units)
- Source:
Determine whether an object is inside this stimulus.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object | the object |
units |
String | the stimulus units |
draw()
- Source:
Draw this stimulus on the next frame draw.
hide()
- Source:
Hide this stimulus on the next frame draw.
release(logopt)
- Source:
Release the PIXI representation, if there is one.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
log |
boolean |
<optional> |
false
|
whether to log |
setAutoDraw(autoDraw, logopt)
- Source:
Setter for the autoDraw attribute.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
autoDraw |
boolean | the new value |
||
log |
boolean |
<optional> |
false
|
whether to log |