set_from_params


Description:

public void set_from_params (string[] @params) throws ParseError

Set the line style using parameters

Uses parameters, as from an input file, to set the line style. If an error occurs parsing the parameters, the line style will remain unchanged.

0 Cap type
1 Dash type
2 Dash length
3 Dash Space

Parameters:

params

The parameters

Exceptions:

ParseError

A parameter was invalid