openrndr
0.4.5-dev.44+1860897
common
openrndr-shape
/
org.openrndr.shape
/
LineSegment
/
extendTo
extend
To
fun
extendTo
(
targetLength
:
Double
,
anchorT
:
Double
=
0.5
)
:
LineSegment
(
source
)
Extends the length of the segment to the given
targetLength
.
Since
openrndr 0.4.4