Problems registering, no confirmation email - see http://wiki.scribus.net/canvas/Forums_Registration
QuotecreateCustomLineStyle(...)
createCustomLineStyle(styleName, style)
Creates the custom line style 'styleName'.
This function takes a list of dictionaries as a parameter for "style".
Each dictionary represents one subline within the style.
Dictionary can have those keys: [...]
scribus.defineColorRGB("red_r", 254, 10, 10)
line_style = [
{"Color": "red_r"},
{"Dash": 1},
{"LineEnd": 1},
{"LineJoin": 0},
{"Shade": 100},
{"Width": 20.0}
]
scribus.createCustomLineStyle("aCustomStyle", line_style)scribus.defineColorRGB("red_r", 254, 10, 10)
line_style = [
{"Color": "red_r",
"Dash": 1,
"LineEnd": 1,
"LineJoin": 0,
"Shade": 100,
"Width": 20.0
}
]
scribus.createCustomLineStyle("aCustomStyle", line_style)