getTopSize method

int getTopSize()

Returns the width of the top border.

If borders contain runes of varying widths, the widest rune is returned. If no border exists on the top edge, 0 is returned.

Implementation

int getTopSize() {
  return _getBorderEdgeWidth([topLeft, top, topRight]);
}