Global

Methods

setLength(length) → {Line}

Set the length of this vector to the given amount. This only works if this vector is not a null vector.
Parameters:
Name Type Description
length number The desired length.
Source:
Returns:
this (for chaining)
Type
Line

Type Definitions

Bounds

Type:
  • Object
Properties:
Name Type Description
min Vertex The upper left position.
max Vertex The lower right position;.
Source: