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