border property

int border

Returns the color index value for a border depending on the ZetaContrast value.

For ZetaContrast.aa, it returns 60. For ZetaContrast.aaa, it returns 80.

Implementation

int get border {
  switch (this) {
    case ZetaContrast.aa:
      return 60;
    case ZetaContrast.aaa:
      return 80;
  }
}