shift Method

shift (translate) the segment along its axis by adding dx to both x0 and x1.

shift(dx: number): void

Parameter Type Description
dx number value to add to both x0 and x1

Returns - void

Defined in

Last Updated: 12 June, 2024