Skip to content

Instantly share code, notes, and snippets.

@hyperstown
hyperstown / SimpleBordersFPDF2.py
Created February 27, 2024 21:29
Simple Border for FPDF2
from fpdf import FPDF
from fpdf.drawing import Point
class Border:
top_left = None
top_right = None
def __init__(self, pdf, width=0.8):
self.pdf = pdf