context_set_line_dash_pattern


Description:


[ Version ( since = "2.10" ) ]
public bool context_set_line_dash_pattern (double[] dashes)

Set the line dash pattern setting.

Modifies the line dash pattern setting for stroking lines.

The unit of the dash pattern segments is the actual line width used for the stroke operation, in other words a segment length of 1.0 results in a square segment shape (or gap shape).

This setting affects the following procedures: edit_stroke_selection , edit_stroke_item.

Parameters:

dashes

The line dash pattern setting.

num_dashes

The number of dashes in the dash_pattern array.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0