Table of Contents ▸ List of Commands ▸ Image Drawing ▸ thickpolygon | ◀ thickline | thickspline ▶ |
thickpolygon
Arguments:
- N>=1,x1[%],y1[%],...,xN[%],yN[%],_thickness>=0,_opacity,_color1,... or
- [coords],_thickness>=0,_opacity,_color1,...
Description:
Draw specified colored thick outlined N-vertices polygon on selected images.If thickness<0, the command draws an open polygon rather than a closed polygon.
Default values:
thickness=3, opacity=1, and color1=0.
Examples of use:
• Example #1
image.jpg thickpolygon 4,20%,20%,80%,30%,80%,70%,20%,80%,5,1,0,255,0

• Example #2
image.jpg 2,16,1,1,'u(x?h#0:w#0)' thickpolygon[-2] [-1],5,1,255,0,255 remove[-1]
