CLIP_OFF ​
Deactivates the current clipping region off, removing any restrictions on where to draw.
Syntax ​
leo-grammar
CLIP_OFF .
Parameters ​
none
Details ​
This command disables the restriction on drawing only in specific areas which are set through the other clipping commands, like CLIP_RECT
and CLIP_ELLIPSE
.
See Also ​
Examples ​
Draw a green rectangle with part of an orange circle on the left side inside of it and an orange rectangle on the right side.
leo
GRAPHREP
SHADOW off
PEN style:null
FILL color:"green"
RECTANGLE x:-1.3cm y:-0.8cm w:2.6cm h:1.6cm
CLIP_ELLIPSE x:-1.1cm rx:0.7cm ry:0.7cm
FILL color:"orange"
RECTANGLE x:-1.3cm y:-0.8cm w:1cm h:1.6cm
# Disable clipping area to allow drawaing anywhere.
CLIP_OFF
RECTANGLE x:0.5cm y:-0.7cm w:0.7cm h:1.4cm
Versions and Changes ​
Available since ADOxx 1.3