standard.printCanvas elementAudio elementButton elementDropDown elementHtml elementImage elementScale elementText elementTextInput elementTooltip elementVideo elementVoiceRecorder elementYoutube element


or getElement(id).print(x,y) (limited support in PennController 1.3, general since 1.4)

or getElement(id).print(x,y,canvas) (limited support in PennController 1.3, general since 1.4)

Adds the content of the element to the screen. This has no effect for non-visual elements such as the purely interactive Selector elements.

Since PennController 1.3, you can pass x and y values to print the element at a specific position on the page, or on a Canvas element if you pass one (or the name of a Canvas element) as the third parameter. You can use any CSS coordinate format for x and y, or special string values following the respective formats "left|center|right at ..." and "top|middle|bottom at ...". Note that x and y are not supported for Audio, Canvas, Scale, TextInput, Video and Youtube elements in PennController 1.3 ; note also that elements added with .settings.before and .settings.after mess with proportional coordinates.