CompassGravityTrait
trait CompassGravityTrait
Trait CompassGravityTrait
Methods
gravity($compassGravity)
Sets the compass direction.
Details
CompassGravityTrait
gravity($compassGravity)
Sets the compass direction.
The compass direction represents a location in the image, for example, Gravity::northEast() represents the top right corner.