[scribus-dev] Not pre-defined styles in setLineStyle()

Gregory Pittman gpittman at iglou.com
Sun Feb 21 14:39:04 UTC 2016


On 02/21/2016 09:15 AM, Sergio Spina wrote:
> In the scripter API setLineStyle() accept one of a list of predefined
> constants (LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID).
> 
> In scribus 1.4.4 I can create a non-standard type of line with the
> editor in the "object property" panel.
> 
> Is there a way to pass to setLineStyle() a non-standard type of line,
> other than the five given pre-defined ones?
> 

AFAIK, you can use a line style you have already created, by its name.
There doesn't seem to be a way to create a line style from scripter,
however, even though you can individually set various parameters of the
line.

Greg




More information about the scribus-dev mailing list