toAbsolute method
- double relative
Converts relative coordinates from -1, 1
to screen coordinates.
Implementation
double toAbsolute(double relative) => relative / 2 * screen;
Converts relative coordinates from -1, 1
to screen coordinates.
double toAbsolute(double relative) => relative / 2 * screen;