trait GravityQualifierTrait

Trait GravityQualifierTrait

Methods

gravity(mixed $gravity)

Determines which part of the image to keep when any part of the image is cropped. For overlays, this setting determines where to place the overlay.

Details

static GravityQualifier gravity(mixed $gravity)

Determines which part of the image to keep when any part of the image is cropped. For overlays, this setting determines where to place the overlay.

Parameters

Name Type Description
$gravity mixed The area of the image. Use the constants defined in any of the classes that extend GravityQualifier, such as CompassGravity or ObjectGravity.

Return Value

GravityQualifier