setLength method

void setLength(
  1. double length
)

Implementation

void setLength(double length) => scaleUniformly(length / getLength());