/** * Class representing a point. */ classPoint { /** * Create a point. * @param {number} x - The x value. * @param {number} y - The y value. */ constructor(x, y) {}
/** * Get the x value. * @return {number} The x value. */ getX() {}
/** * Convert a string containing two comma-separated number into a point. * @param {string} str - The string containing two comma-separated number. * @return {Point} A point object. */ staticfromStringStr(str) {} }
/** * Class representing a point. * @extendsPoint */ classDotextendsPoint { /** * Create a dot. * @param {number} x - The x value. * @param {number} y - The y value. * @param {number} width - The width of the dot. */ constructor(x, y, width) { super(x, y) }
/** * Get the width of the dot. * @return {number} The dot's width. */ getWidth() {} }