Table of Contents ▸ List of Commands ▸ Image Drawing ▸ line | ◀ imagealpha | line_aa ▶ |
line | Built-in command |
Arguments:
- x0[%],y0[%],x1[%],y1[%],_opacity,_pattern,_color1,...
Description:
Draw specified colored line on selected images.pattern is an hexadecimal number starting with 0x which can be omitted
even if a color is specified.
Default values:
opacity=1, pattern=(undefined) and color1=0.
Example of use:
image.jpg repeat 500 line 50%,50%,{u(w)},{u(h)},0.5,${-rgb} done line 0,0,100%,100%,1,0xCCCCCCCC,255 line 100%,0,0,100%,1,0xCCCCCCCC,255
