MATLAB 程式設計/Psychtoolbox/Screen 命令/DrawText
外觀
用法
[newX,newY] = Screen(windowPtr,'DrawText',text,[x],[y],[color])
繪製文字。text 可能包含雙位元組字元(例:中文)。預設的x y 是當前筆位置。color 是您希望壓入每個畫素的 CLUT 索引(標量或 [r g b] 三元組);對於此視窗的 pixelSize,預設生成黑色和標準 CLUT。newX、newY 返回最終筆位置。