MCPcopy Create free account
hub / github.com/OpenSignLabs/OpenSign / _drawWidgetBox

Function _drawWidgetBox

apps/OpenSign/src/constant/Utils.js:3887–3900  ·  view source on GitHub ↗
(page, rect)

Source from the content-addressed store, hash-verified

3885}
3886
3887function _drawWidgetBox(page, rect) {
3888 try {
3889 page.drawRectangle({
3890 x: rect.x,
3891 y: rect.y,
3892 width: rect.width,
3893 height: rect.height,
3894 borderWidth: 0.6,
3895 borderColor: rgb(0.65, 0.65, 0.65)
3896 });
3897 } catch {
3898 /* best effort */
3899 }
3900}
3901
3902function _drawTextField(page, field, rect, font) {
3903 let text = "";

Callers 1

flattenPdfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected