Search Locate Previous Next Contents

nlvml.Polyline – line drawing

This allows you to add arbitrary line-drawing elements to the page. This might be used in conjunction with nlPushFrame to make organisation charts, data-flow diagrams and so on. You can set line-styles, colours and weights in advance:

© Simple coloured box
 nlvml.Colour 2
 nlvml.Nib 4
 nlvml.Polyline 5 2½100 700 200 700 200 800 100 800 100 700

You can also choose to fill the closed polyline:

 nlvml.Colour 12
 nlvml.Fill 15   © Pattern-15 is solid
 nlvml.Polyline 20+5 2½100 700 200 700 200 800 100 800 100 700

In this release, you may give colour, pattern and style numbers only here. All co-ordinate values are in points, with the origin at the lower left-hand corner of the paper.

See also ...
nlvml.GRestore – restore co-ordinate system
nlvml.GSave – save co-ordinate system


Continue to: nlvml.Style – set line style
© Copyright Causeway Graphical Systems Ltd 2003