MATLAB Programming/Psychtoolbox/Screen Commands/TextFace

From Wikibooks, open books for an open world
Jump to navigation Jump to 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)