getMAColor method

Color getMAColor(
  1. int index
)

Implementation

Color getMAColor(int index) {
  switch (index % 3) {
    case 1:
      return ma10Color;
    case 2:
      return ma30Color;
    default:
      return ma5Color;
  }
}