isLight property

bool get isLight

Determines whether the given PdfColor is light.

Implementation

bool get isLight => !isDark;