Path.with_description


Description:

[ CCode ( has_construct_function = false ) ]
public Path.with_description (string desc)

Creates a new Path instance with the nodes described in desc.

See add_string for details of the format of the string.

The object has a floating reference so if you add it to a BehaviourPath then you do not need to unref it.

Parameters:

desc

a string describing the path

Returns:

the newly created Path