[ CCode ( has_construct_function = false , type = "ClutterConstraint*" ) ]
public AlignConstraint (Actor? source, AlignAxis axis, float factor)
Creates a new constraint, aligning a Actor's position with regards of the size of the
actor to source
, with the given alignment factor
source |
the Actor to use as the source of the alignment, or |
axis |
the axis to be used to compute the alignment |
factor |
the alignment factor, between 0.0 and 1.0 |
the newly created AlignConstraint |