addX method

dynamic addX(
  1. dynamic x
)

Add a X coordinate to the bounding box. This extends the bounding box to include the X coordinate. This function is used internally inside of addBezier. @param {number} x - The X coordinate of the point.

Implementation

addX(x) {
  this.addPoint(x, null);
}