ReportLab Graphics and SVG Integratation
ReportLab Graphics and SVG Integratation
ReportLab Graphics and SVG Integratation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
portLab<br />
epor ReportL<br />
portLa<br />
Rect, Circle, Ellipse, Line, Polygon, PolyLine, Path, String,<br />
portLa<br />
Shapes<br />
Repor Rep<br />
(Image)<br />
Group, Drawing (containers)<br />
Sample:<br />
portL Repor<br />
from reportlab.graphics import shapes<br />
from reportlab.lib import colors<br />
rect = shapes.Rect(0, 0, 100, 50)<br />
rect.strokeColor = colors.red<br />
rect.fillColor = colors.blue