# cdCanvasSetTextOrientation

Definition: | include pGUI.e cdCanvasSetTextOrientation(cdCanvas canvas, atom angle) -- or -- atom prev = cdCanvasGetTextOrientation(cdCanvas canvas)
Description: | Defines or retrieves the text orientation, which is an angle provided in degrees relative to the horizontal line according to which the text is drawn. These functions both wrap the C API cdCanvasTextOrientation() function. The default value is 0.
pwa/p2js: | Supported. Replaced by the angle parameter of gCanvasText() in xpGUI (and/or one day perhaps a TEXTANGLE attribute).