The definition of the own shape (outer line points, pointed lines or polygons peaks) is in the form of one string that contains statements for pen moving, pen drawing, etc. All coordinates are logical and refer to the logical size of the shape (see the "
X shape range" configurator and the "
Y shape range" configurator). By this way the shape can be described in general while the real size is specified by the size of the
PmgShape object.
The whole shape is made out from the following statements:
m x1,y1 - move the pen to the x1,y1 position without drawing (move)
l x2,y2 - move the pen from the last position to the x2,y2 position with drawing (line)
l x2,y2 [x3,y3 ...] - move the pen from the last position step by step to individual positions with drawing
x - conclusion of the figure, i.e. the conjunction of the first and the last point
e - terminated filled polygon and the following filled polygon will have a filled intersection
Caution! The notation must be made precisely by the specification where statements and parts of statements are separated by one space and
x and
y coordinates are separated by comma. The syntax comes out from the
"path" attribute in the
<SHAPE> tag in the Microsoft definition of
VML.