[Scribus] Help with script
Owen
rcook
Fri Jan 7 00:12:30 CET 2005
I have this script, but the setCornerRadius does not set the corner radius. (Properties->Shape->Round Corners does make corners round)
This is CVS 28 Dec 04
Any suggestions?
-----------------------------------------------------------------
from scribus import *
if NewDoc(Paper_A4, (10, 10, 10, 10), Portrait, 1, UNIT_POINTS, NoFacingPages, FirstPageRight):
b="Black"
b1="Blue"
w="White"
h = CreateRect(20,20,555,200)
setLineWidth(4, h)
setCornerRadius(20, h)
setFillColor(w, h)
setLineColor(b1, h)
SaveDocAs("Border_3.sla")
----------------------------------------------------------------------
TIA
Owen
More information about the scribus
mailing list