This sample illustrates how to draw basic shapes with the Canvas object's drawing commands.
This sample illustrates the use of a Canvas object. The Canvas object is a scripting object that has no graphical user interface or Property pages. All properties and methods are accessible only through user written script.
The sample experiment is a basic luminence task. The InLine object contains E-Basic script that creates a Canvas, sets PenColor, PenWidth, and FillColor, draws the appropriate shape, and then increments the changing color for the next drawing. The time at which both shapes were the same color, and the time of the subject's response is recorded and presented as feedback.
For more information about the Canvas object, please refer to the E-Basic OnLine Help Canvas topic.