Skip to content

getLength()

Return the line's length.

line.getLength()

Returns

return length

Value Type Description
length int or float The distance between the line's two ends, in pixels.