MATLAB Programming/Psychtoolbox/Screen Commands/TextFace

From Wikibooks, open books for an open world
< MATLAB Programming‎ | Psychtoolbox‎ | Screen Commands
Jump to: navigation, search

Usage:

oldStyle=Screen(windowPtr,'TextStyle',[style])

Get/set the font style for future text draws in this window. Useful values for style follow; they may be OR'd.

style can be 0=normal, 1=bold, 2=italic, 4=underline. (Outline, Condense and Extend are not yet supported on the Windows version)