Class: Clutter::PathConstraint

Inherits:
Constraint show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from ActorMeta

#actor, #actor=, #enabled, #enabled=, #enabled?, #name, #name=

Constructor Details

#initialize(path, offset) ⇒ Clutter::Constraint

Creates a new Clutter::PathConstraint with the given path and offset

Parameters:

  • path (Clutter::Path)

    a Clutter::Path, or nil

  • offset (Clutter::gfloat)

    the offset along the Clutter::Path

Instance Method Details

#offsetClutter::gfloat

The offset along the Clutter::PathConstraint:path, between -1.0 and 2.0.

Returns:

  • (Clutter::gfloat)

    offset

#offset=(offset) ⇒ Clutter::gfloat

The offset along the Clutter::PathConstraint:path, between -1.0 and 2.0.

Parameters:

  • offset (Clutter::gfloat)

Returns:

  • (Clutter::gfloat)

    offset

  • (Clutter::gfloat)

    offset

#pathClutter::Path

The Clutter::Path used to constrain the position of an actor.

Returns:

#path=(path) ⇒ Clutter::Path

The Clutter::Path used to constrain the position of an actor.

Parameters:

Returns: