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