openrndr
0.4.5-dev.4.uncommitted+98ebace
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