Gravity class
Defines the focal gravity for certain methods of cropping.
**Learn more https://cloudinary.com/documentation/image_transformations#control_gravity https://cloudinary.com/documentation/video_manipulation_and_delivery#gravity
- Implementers
Constructors
- Gravity()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
autoGravity(
[List< FocusOn> ? focusOnObjects]) → AutoGravity -
center(
) → dynamic - North west corner (center).
-
east(
) → dynamic - North west corner (right).
-
focusOn(
List< FocusOn> focusOnObjects) → FocusOnGravity -
north(
) → dynamic - North west corner (top).
-
northEast(
) → dynamic - North west corner (top right).
-
northWest(
) → dynamic - North west corner (top left).
-
south(
) → dynamic - North west corner (bottom).
-
southEast(
) → dynamic - North west corner (bottom right).
-
southWest(
) → dynamic - North west corner (bottom left).
-
west(
) → dynamic - North west corner (left).
-
xyCenter(
) → dynamic