ObjectGravityPriorityBuilderTrait
trait ObjectGravityPriorityBuilderTrait
Trait ObjectGravityPriorityBuilderTrait
Properties
QualifierMultiValue | $value |
Methods
focus(int|null $weight = null)
Gives priority to objects that are in focus, with the specified weighting.
center(int|null $weight = null)
Gives priority to objects closer to the center of the asset, with the specified weighting.
large(int|null $weight = null)
Gives priority to larger objects, with the specified weighting.
priority(string $priorityName = null, int $weight = null)
Sets any priority to the specified weighting.
Details
$this
focus(int|null $weight = null)
Gives priority to objects that are in focus, with the specified weighting.
$this
center(int|null $weight = null)
Gives priority to objects closer to the center of the asset, with the specified weighting.
$this
large(int|null $weight = null)
Gives priority to larger objects, with the specified weighting.
$this
priority(string $priorityName = null, int $weight = null)
Sets any priority to the specified weighting.