Example

Translate a Line

geometric.lineTranslate(line, angle, distance) returns the coordinates resulting from translating a line by an angle in degrees and a distance. If angle is not specified, defaults to 0. If distance is not specified, defaults to 0.

Adjust the angle and distance to see lineTranslate move a line.

Code