Skip to content

STRETCH (GraphRep) ​

Stretch :

STRETCH OnOrOff .

OnOrOff :

on | off .

If an object's size is changed (under GRAPHREP a sizing attribute is listed), all graphical elements of the object are stretched (or compressed) geometrically. With the style element STRETCH, geometric stretching can be switched off (STRETCH off) - and of course on again (STRETCH on).

Example:

GRAPHREP sizing:asymmetrical RECTANGLE x:0cm y:0cm w:3cm h:2cm STRETCH off LINE x1:1cm y1:0cm x2:1cm y2:1cm

The graphical representation consists of a rectangle that is divided into two parts by a 1cm wide vertical line. The width of the left part is always 1cm, regardless of the current size of the object. The width of the right side, however, varies depending on the object's size.