[ Version ( since = "2.4" ) ]
public double stroke_get_length (int stroke_id, double precision)
Measure the length of the given stroke.
Measure the length of the given stroke.
| this |
The path object. |
| stroke_id |
The stroke ID. |
| precision |
The precision used for approximating straight portions of the stroke. |
|
The length (in pixels) of the given stroke. |