|
The Physiologist's Friend Simulation API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorStimulus
A color stimulus has a foreground and background color.
Field Summary |
---|
Fields inherited from interface ch.unizh.ini.friend.stimulus.Stimulus |
---|
BACKGROUND_BRIGHTNESS, BRIGHTEN_BACKGROUND, BRIGHTEN_FOREGROUND, DARKEN_BACKGROUND, DARKEN_FOREGROUND, FOREGROUND_BRIGHTNESS, RESIZE_RATIO, ROTATE_BY |
Method Summary | |
---|---|
Color |
getBackground()
Returns the background excitation color of the stimulus. |
Color |
getForeground()
Returns the foreground excitation color of the stimulus. |
LMSColor |
getLMSBackground()
Returns the background excitation color of the stimulus. |
LMSColor |
getLMSForeground()
Returns the foreground excitation color of the stimulus. |
void |
setBackground(Color color)
Sets the background excitation color of the stimulus. |
void |
setForeground(Color color)
Sets the foreground excitation color of the stimulus. |
Methods inherited from interface ch.unizh.ini.friend.stimulus.Stimulus |
---|
addShape, brightenBackground, brightenForeground, clearShapes, darkenBackground, darkenForeground, expand, fatten, flipContrast, getBackgroundExcitationDensity, getForegroundExcitationDensity, getShapes, getTransformedShapes, getTransforms, isVisible, lengthen, removeShape, rotate, rotateCCW, rotateCW, setBackgroundExcitationDensity, setForegroundExcitationDensity, setShapes, setTransforms, setVisible, shorten, shrink, thin |
Methods inherited from interface ch.unizh.ini.friend.simulation.Updateable |
---|
compute, update |
Method Detail |
---|
void setForeground(Color color)
color
- the new colorColor getForeground()
LMSColor getLMSForeground()
void setBackground(Color color)
color
- the new colorColor getBackground()
LMSColor getLMSBackground()
|
http://www.ini.unizh.ch/~tobi/friend | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |