Drawing Graphical Primitives
Graphical primitives can be drawn only in containers that have absolute layout. To create a new primitive, select a container with an absolute layout, then select a primitive type in the toolbar located on the right side of the work form. After that:
- Click several times inside the selected container to set up reference points of a primitive that have more than two reference points (e.g. a polyline or a polygon). Double click to finish the primitive.
- Click and drag inside the selected container to create a primitive that has two reference points (i.e. a rectangle or an ellipse).
- Draw a perfectly horizontal, vertical, or diagonal primitive by holding down Shift while dragging. Hold Ctrl to rotate the angle of your primitive according to grid coordinates.
Once primitive creation is complete, it becomes a regular widget component that can be, as any other component, moved and resized. It has a name that can be changed and referenced from widget bindings, and once it's selected, its properties can be edited in Component Properties window.
To switch the work form primitive creation mode to primitive selection mode, select icon in the primitive creation toolbar.
Was this page helpful?