๐ŸšงBorderStyle

// ็•ซๆก†็ทš็š„่จญๅฎš
function BorderStyle(
  {
    top        = null,
    left       = null, 
    bottom     = null, 
    right      = null, 
    vertical   = null, 
    horizontal = null, 
    color      = 'black', 
    style      = SpreadsheetApp.BorderStyle.SOLID
  }={}
) {

  // edges
  this.edge = {
    top   : top,
    left  : left,
    bottom: bottom,
    right : right
  };

  // internalBorder
  this.internalBorder = {
    vertical  : vertical,
    horizontal: horizontal
  };

  // color
  this.color = color;

  // style
  this.style = style;
}


Last updated