@lynsoluciones/medusa-docs
Version:
Medusa plugins to generate docs
33 lines (32 loc) • 933 B
JavaScript
;
/*
*
*
* MIT License
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateHrInA7 = exports.generateHr = void 0;
function generateHr(doc, y, moveTo, lineTo) {
doc
.strokeColor("#aaaaaa")
.lineWidth(1)
.moveTo(moveTo ? moveTo : 50, y)
.lineTo(lineTo ? lineTo : 550, y)
.stroke();
}
exports.generateHr = generateHr;
function generateHrInA7(doc, y) {
doc
.strokeColor("#aaaaaa")
.lineWidth(1)
.moveTo(25, y)
.lineTo(190, y)
.stroke();
}
exports.generateHrInA7 = generateHrInA7;