ObjectGravity
class ObjectGravity extends GravityQualifier implements ObjectGravityInterface
Defines objects to use as the focal gravity of crops.
Learn more: Object-aware cropping
Properties
QualifierMultiValue | $value | from ObjectGravityPriorityBuilderTrait |
Methods
Gravity accessory.
Gravity frisbee.
Gravity skis.
Gravity snowboard.
Gravity sportsBall.
Gravity kite.
Gravity baseballBat.
Gravity baseballGlove.
Gravity skateboard.
Gravity surfboard.
Gravity tennisracket.
Gravity animal.
Gravity bird.
Gravity cat.
Gravity dog.
Gravity horse.
Gravity sheep.
Gravity cow.
Gravity elephant.
Gravity bear.
Gravity zebra.
Gravity giraffe.
Gravity appliance.
Gravity microwave.
Gravity oven.
Gravity toaster.
Gravity sink.
Gravity refrigerator.
Gravity electronic.
Gravity tvMonitor.
Gravity laptop.
Gravity mouse.
Gravity remote.
Gravity keyboard.
Gravity cellphone.
Gravity food.
Gravity banana.
Gravity apple.
Gravity sandwich.
Gravity orange.
Gravity broccoli.
Gravity carrot.
Gravity hotdog.
Gravity pizza.
Gravity donut.
Gravity cake.
Gravity furniture.
Gravity chair.
Gravity sofa.
Gravity pottedPlant.
Gravity bed.
Gravity diningTable.
Gravity toilet.
Gravity indoor.
Gravity book.
Gravity clock.
Gravity vase.
Gravity scissors.
Gravity teddyBear.
Gravity hairDrier.
Gravity toothbrush.
Gravity kitchen.
Gravity bottle.
Gravity wineGlass.
Gravity cup.
Gravity fork.
Gravity knife.
Gravity spoon.
Gravity bowl.
Gives priority to objects that are in focus, with the specified weighting.
Gives priority to objects closer to the center of the asset, with the specified weighting.
Gives priority to larger objects, with the specified weighting.
Sets any priority to the specified weighting.
Gravity outdoor.
Gravity trafficLight.
Gravity stopSign.
Gravity parkingMeter.
Gravity fireHydrant.
Gravity bench.
Gravity person.
Gravity vehicle.
Gravity bicycle.
Gravity car.
Gravity motorbike.
Gravity aeroplane.
Gravity bus.
Gravity train.
Gravity truck.
Gravity boat.
ObjectGravity constructor.
Adds fallback gravity (usually AutoGravity).
Details
static string
accessory()
Gravity accessory.
static string
frisbee()
Gravity frisbee.
static string
skis()
Gravity skis.
static string
snowboard()
Gravity snowboard.
static string
sportsBall()
Gravity sportsBall.
static string
kite()
Gravity kite.
static string
baseballBat()
Gravity baseballBat.
static string
baseballGlove()
Gravity baseballGlove.
static string
skateboard()
Gravity skateboard.
static string
surfboard()
Gravity surfboard.
static string
tennisracket()
Gravity tennisracket.
static string
animal()
Gravity animal.
static string
bird()
Gravity bird.
static string
cat()
Gravity cat.
static string
dog()
Gravity dog.
static string
horse()
Gravity horse.
static string
sheep()
Gravity sheep.
static string
cow()
Gravity cow.
static string
elephant()
Gravity elephant.
static string
bear()
Gravity bear.
static string
zebra()
Gravity zebra.
static string
giraffe()
Gravity giraffe.
static string
appliance()
Gravity appliance.
static string
microwave()
Gravity microwave.
static string
oven()
Gravity oven.
static string
toaster()
Gravity toaster.
static string
sink()
Gravity sink.
static string
refrigerator()
Gravity refrigerator.
static string
electronic()
Gravity electronic.
static string
tvMonitor()
Gravity tvMonitor.
static string
laptop()
Gravity laptop.
static string
mouse()
Gravity mouse.
static string
remote()
Gravity remote.
static string
keyboard()
Gravity keyboard.
static string
cellphone()
Gravity cellphone.
static string
food()
Gravity food.
static string
banana()
Gravity banana.
static string
apple()
Gravity apple.
static string
sandwich()
Gravity sandwich.
static string
orange()
Gravity orange.
static string
broccoli()
Gravity broccoli.
static string
carrot()
Gravity carrot.
static string
hotdog()
Gravity hotdog.
static string
pizza()
Gravity pizza.
static string
donut()
Gravity donut.
static string
cake()
Gravity cake.
static string
furniture()
Gravity furniture.
static string
chair()
Gravity chair.
static string
sofa()
Gravity sofa.
static string
pottedPlant()
Gravity pottedPlant.
static string
bed()
Gravity bed.
static string
diningTable()
Gravity diningTable.
static string
toilet()
Gravity toilet.
static string
indoor()
Gravity indoor.
static string
book()
Gravity book.
static string
clock()
Gravity clock.
static string
vase()
Gravity vase.
static string
scissors()
Gravity scissors.
static string
teddyBear()
Gravity teddyBear.
static string
hairDrier()
Gravity hairDrier.
static string
toothbrush()
Gravity toothbrush.
static string
kitchen()
Gravity kitchen.
static string
bottle()
Gravity bottle.
static string
wineGlass()
Gravity wineGlass.
static string
cup()
Gravity cup.
static string
fork()
Gravity fork.
static string
knife()
Gravity knife.
static string
spoon()
Gravity spoon.
static string
bowl()
Gravity bowl.
$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.
static string
outdoor()
Gravity outdoor.
static string
trafficLight()
Gravity trafficLight.
static string
stopSign()
Gravity stopSign.
static string
parkingMeter()
Gravity parkingMeter.
static string
fireHydrant()
Gravity fireHydrant.
static string
bench()
Gravity bench.
static string
person()
Gravity person.
static string
vehicle()
Gravity vehicle.
static string
bicycle()
Gravity bicycle.
static string
car()
Gravity car.
static string
motorbike()
Gravity motorbike.
static string
aeroplane()
Gravity aeroplane.
static string
bus()
Gravity bus.
static string
train()
Gravity train.
static string
truck()
Gravity truck.
static string
boat()
Gravity boat.
__construct(string $objectName = null, mixed ...$args)
ObjectGravity constructor.
ObjectGravity
fallbackGravity(AutoGravity|ObjectGravity|string|mixed $fallbackGravity)
Adds fallback gravity (usually AutoGravity).