GravityMode
Namespace: MJCZone.MediaMatic.AspNetCore.Transformations
Assembly: MJCZone.MediaMatic.AspNetCore
Summary
Specifies the gravity point for image cropping operations.
Inheritance
Base Class: Enum
sealed public
Contents
Enum Members (10)
Enum Members
| Name | Value | Description |
|---|---|---|
| Center | 0 | Center of the image. |
| North | 1 | Top center of the image. |
| South | 2 | Bottom center of the image. |
| East | 3 | Right center of the image. |
| West | 4 | Left center of the image. |
| NorthEast | 5 | Top right corner of the image. |
| NorthWest | 6 | Top left corner of the image. |
| SouthEast | 7 | Bottom right corner of the image. |
| SouthWest | 8 | Bottom left corner of the image. |
| Custom | 9 | Custom focal point specified by x and y coordinates. |