Selecting rectangles (or triangles)
Note that the outline will be in the colour A
When a cut is made , it exposes the colour A
Code: Select all
-select/all (11,22 95,55) -select/"Outline Ellipse"
-select/all (11,22 95,55) -edit/cut
-select/all (11,22 95,55 11,166) -select/"Fill Selection"
-select/all (11,22 95,55 11,166) -edit/cut
-select/all x0=11 y0=22 x1=33 y1=66 -edit/cut
color chooser: "-edit/colour a=X b=Y"; or through invisible items in
"Palette" submenu: "-pal/a=X -pal/B=Y"
______________________
EDIT: here's some more
When the gradient is switched on the color B is important
Code: Select all
-select/all (11,22 95,55 11,145) -p/edit=a colour=green -select/"Outline Selection"
-p/edit=a colour=white -select/all (11,22 95,55 11,145 22,178 44,222) -select/"Fill Selection"
-select/all (11,22 195,55) -p/edit=a colour=green -select/"Outline Selection"
-p/a=7 -p/b=166 -select/all (11,22 95,55 11,145 22,178 44,222 66,299) -p/a=166 -select/"Fill Selection" -edit/copy
-edit/paste -select/all (11,22 95,55 11,145) -p/edit=a colour=green -select/"Outline Selection"
-p/edit=a colour=white -select/all (11,22 95,55 11,145 22,178 44,222) -select/"Fill Selection"
Code: Select all
-e/set grad=1 -e/tool grad \(0,55 144,45\)
-e/tool line \(0,0 541,430\)