trait AutoGravityBuilderTrait

Trait AutoGravityBuilderTrait

Methods

auto(mixed ...$fallback)

Sets automatic gravity.

autoGravity(mixed ...$fallback)

Alias for Gravity::auto()

Details

static AutoGravity auto(mixed ...$fallback)

Sets automatic gravity.

An intelligent algorithm analyzes and prioritizes the most prominent elements of the asset to include.

Parameters

Name Type Description
...$fallback mixed Fallback gravities.

Return Value

AutoGravity

static AutoGravity autoGravity(mixed ...$fallback)

Alias for Gravity::auto()

Parameters

Name Type Description
...$fallback mixed

Return Value

AutoGravity

See also

AutoGravity::auto