Clutter.PathConstraint.new
Description: Reference for Clutter.PathConstraint.new

### Constructor

# Clutter PathConstraintnew

#### Declaration [src]

    ClutterConstraint*
    clutter_path_constraint_new (
      ClutterPath* path,
      gfloat offset
    )

#### Description [src]

Creates a new `ClutterPathConstraint` with the given `path` and `offset`.

#### Parameters

`path` | `ClutterPath`
| A `ClutterPath`, or `NULL`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`offset` | `gfloat`
| The offset along the `ClutterPath`.

#### Return value

Returns: | `ClutterConstraint`
| The newly created `ClutterPathConstraint`.
| The data is owned by the called function.