Clutter.AlignConstraint.new
Description: Reference for Clutter.AlignConstraint.new

### Constructor

# Clutter AlignConstraintnew

#### Declaration [src]

    ClutterConstraint*
    clutter_align_constraint_new (
      ClutterActor* source,
      ClutterAlignAxis axis,
      gfloat factor
    )

#### Description [src]

Creates a new constraint, aligning a `ClutterActor`‘s position with regards of the size of the actor to `source`, with the given alignment `factor`.

#### Parameters

`source` | `ClutterActor`
| The `ClutterActor` to use as the source of the alignment, or `NULL`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`axis` | `ClutterAlignAxis`
| The axis to be used to compute the alignment.
`factor` | `gfloat`
| The alignment factor, between 0.0 and 1.0

#### Return value

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