verifyBorderType static method

int verifyBorderType(
  1. int borderType
)

Implementation

static int verifyBorderType(int borderType) {
  return (borderType <= 0)
      ? 0
      : (borderType <= 5)
          ? borderType
          : 16;
}