| Table of Contents ▸ List of Commands ▸ Image Drawing ▸ rectangle | ◀ quiver | rorschach ▶ |
rectangle
Arguments:
- x0[%],y0[%],x1[%],y1[%],_opacity,_pattern,_color1,...
Description:
Draw specified colored rectangle on selected images.pattern is an hexadecimal number starting with 0x which can be omitted
even if a color is specified. If a pattern is specified, the rectangle is
drawn outlined instead of filled.
Default values:
opacity=1, pattern=(undefined) and color1=0.
Example of use:
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> repeat 30 { rectangle {u(100)}%,{u(100)}%,{u(100)}%,{u(100)}%,0.3,${-rgb} }


Home
Download
News
Mastodon
Bluesky
X
Summary - 17 Years
Summary - 16 Years
Summary - 15 Years
Summary - 13 Years
Summary - 11 Years
Summary - 10 Years
Resources
Technical Reference
Scripting Tutorial
Video Tutorials
Wiki Pages
Image Gallery
Color Presets
Using libgmic
G'MIC Online
Community
Discussion Forum (Pixls.us)
GimpChat
IRC
Report Issue