function extendShape(opts) {
    return Path.extend(opts);
}
Sub pixel optimize line for canvas

@param {Object} param
@param {Object} [param.shape]
@param {number} [param.shape.x1]
@param {number} [param.shape.y1]
@param {number} [param.shape.x2]
@param {number} [param.shape.y2]
@param {Object} [param.style]
@param {number} [param.style.lineWidth]
@return {Object} Modified param