addY method

dynamic addY(
  1. dynamic y
)

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

Implementation

addY(y) {
  this.addPoint(null, y);
}