index.js
/**
     * This function fills the missing coordinates object with some default values like (x1 = 0, y1 = 0, x2 = 100, y2 = 100)
     * It takes a screenshot of the coordinates supplied to it if all 4 coordinates are supplied.
     *
     * @public
     * @static
     * @function
     * @param {Object} [options={}] The Options object
     * @param {Object} [options.ImageFormat=ImageFormat.PNG] Specifies the format type of the image.
     * @return {string}returns a base64 encoded string which needs to be converted to buffer to be written into image format
     */
This function fills the missing coordinates object with some default values like (x1 = 0, y1 = 0, x2 = 100, y2 = 100)
It takes a screenshot of the coordinates supplied to it if all 4 coordinates are supplied.


This function fills the missing coordinates object with some default values like ( x1 = 0 y1 = 0 x2 = 100 y2 = 100 ) It takes a screenshot of the coordinates supplied to it if all 4 coordinates are supplied .
static captureByCoordinates(options) {
        return new Promise(function (resolve, reject) {
            resolve(coordinatesMethod(options, "capture_coordinates.exe"));
        });
    }
static captureByCoordinates ( options ) { return new Promise ( function ( resolve , reject ) { resolve ( coordinatesMethod ( options , "capture_coordinates.exe" ) ) ; } ) ; }
This function fills the missing coordinates object with some default values like (x1 = 0, y1 = 0, x2 = 100, y2 = 100)
 It takes a screenshot of the coordinates supplied to it if all 4 coordinates are supplied.
This function fills the missing coordinates object with some default values like ( x1 = 0 y1 = 0 x2 = 100 y2 = 100 ) It takes a screenshot of the coordinates supplied to it if all 4 coordinates are supplied .