The Drawing functions are Frame-based functions and allow you to use a script to change the state of a Frame object in your publication, in particular to draw lines and shapes when the publication is running.
All lines and shapes added to any individual frame are created as part of a single contour (this is a single continuous line). Adding intersecting shapes will produce gaps in the shape. To draw multiple independent shapes, use multiple frame objects.
Hierarchy:
As well as the specific functions listed under the Functions: heading below, you can also use the following OpusScript functions:
Class Hierarchy:
Buttons
Graphical Objects
Basic Objects
Functions:
Add a point to the current contour in the frame | |
Remove all script drawing elements from the frame | |
Draw an ellipse in the frame | |
Draw a line between two points in the frame | |
Draw a rectangle in the frame | |
Draw a regular polygon (eg triangle or octagon) in the frame | |
Draw a round cornered rectangle in the frame | |
Draw a star in the frame | |
Remove a point from the contour in the frame | |
Set the fill colour for the script drawing in the frame | |
Set the line colour for the script drawing in the frame | |
Set the line style for the script drawing in the frame |