You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
Image processing
Draw
Copy page
Download PDF
Draw
The draw feature allows you to draw points and lines on an image. This topic introduces the parameters and provides examples of the draw feature.​
Description​
​
Parameter​
Description​
Value​
Required​
p​
Point position​
To draw three points at the coordinates (50,50), (100,100), and (200,200), enter 50x50-100x100-200x200.​
Yes​
r​
Point radius​
The default value is 6.​
No​
l​
Specifies whether to draw lines between the points.​
Possible values:​
  • true: Yes.​
  • false: No.​
No​
lw​
Line width​
Width of the lines used to connect points. The default value is 3.​
No​
color​
Color​
A hexadecimal color code ranging from 000000 to FFFFFF. The default is 000000 (black).​
No​
​
Example​
Draw five points at the following coordinates: (50, 50), (50, 100), (100, 100), (100, 200), and (200, 200). Set the point radius to 10, connect the points with lines, and set the line width to 3 and the line color to blue.​
​
​
Last updated: 2026.04.16 16:18:09