pointAt method

Offset pointAt(
  1. double angle,
  2. double distance
)

The point at distance from the center in the direction angle (radians, clockwise from 3 o'clock).

Implementation

Offset pointAt(double angle, double distance) =>
    center + Offset(cos(angle), sin(angle)) * distance;