scaleLength method

double scaleLength(
  1. double length
)

Scales a source-space length (radius, stroke width) to viewport space.

Implementation

double scaleLength(double length) => length * scale;