aspectRatio property

double aspectRatio

Aspect ratio of the rectangle formed between (0, 0) and this vector (always >= 1.0)

Implementation

double get aspectRatio => x >= y ? x / y : y / x;