/**
 * @module padding
 */

class Padding {
  constructor (padding) {
    this.left = padding.left
    this.right = padding.right
  }

  length () {
    return this.left.length + this.right.length
  }
}

export default Padding
