A constraint that follows a path
<clutter-path-constraint> is a simple constraint that modifies
the allocation of the <clutter-actor> to which it has been
applied using a <clutter-path>.
By setting the <"offset"> property it is possible to control how
far along the path the <clutter-actor> should be.
ClutterPathConstraint is available since Clutter 1.6.
<clutter-path>) (offset float) ⇒ (ret <clutter-constraint>)Creates a new
<clutter-path-constraint>with the given path and offset
- path
- a
<clutter-path>, or ‘#f’.- offset
- the offset along the
<clutter-path>- ret
- the newly created
<clutter-path-constraint>.Since 1.6
<clutter-path-constraint>) (path <clutter-path>)Sets the path to be followed by the
<clutter-path-constraint>.The constraint will take ownership of the
<clutter-path>passed to this function.
- constraint
- a
<clutter-path-constraint>- path
- a
<clutter-path>.Since 1.6
<clutter-path-constraint>) ⇒ (ret <clutter-path>)Retrieves a pointer to the
<clutter-path>used by constraint.
- constraint
- a
<clutter-path-constraint>- ret
- the
<clutter-path>used by the<clutter-path-constraint>, or ‘#f’. The returned<clutter-path>is owned by the constraint and it should not be unreferenced.Since 1.6