OpusScript now includes a set of functions to perform drawing actions. This allows you to create simple drawing tools for lines and shapes.
More importantly it also allows you to create and manipulate lines and shapes for graphs and diagrams.
The drawing functions allow to program a simple highlight pen for whiteboard or presentation publications.
This allows the user to highlight particular elements in a live publication without having additional software or running the Opus editor.
It also allows you to program line graphs, bar charts, Set diagrams and so on which can be manipulated or updated without republishing.
Basic drawing functions available are...
AddPoint - Add a point to the current contour in the frame
ClearDraw - Remove all script drawing elements from the frame
DrawEllipse - Draw an ellipse in the frame
DrawLine - Draw a line between two points in the frame
DrawRectangle - Draw a rectangle in the frame
DrawRegPoly - Draw a regular polygon (eg triangle or octagon) in the frame with option for number of sides
DrawRoundRectangle - Draw a round cornered rectangle in the frame
DrawStar - Draw a star in the frame wth option for number of points
RemovePoint - Remove a point from the contour in the frame
SetFillColour - Set the fill colour for the script drawing in the frame
SetLineColour - Set the line colour for the script drawing in the frame
SetLineStyle - Set the line style for the script drawing in the frame
OpusScript is provided in Opus Pro only and so these functions are not available in Opus Creator.