type
UploadImageEdit
UploadImageEdit describes a reversible crop and focal point on the oriented source image. Coordinates are percentages of that source, not the rendition. A zero width and height clear the crop.
Properties
| Property | Type | Description |
|---|---|---|
FocalX | float64 | The FocalX value. |
FocalY | float64 | The FocalY value. |
CropX | float64 | The CropX value. |
CropY | float64 | The CropY value. |
CropWidth | float64 | The CropWidth value. |
CropHeight | float64 | The CropHeight value. |
Full signature
type UploadImageEdit struct {
FocalX float64 `json:"focalX"`
FocalY float64 `json:"focalY"`
CropX float64 `json:"cropX"`
CropY float64 `json:"cropY"`
CropWidth float64 `json:"cropWidth"`
CropHeight float64 `json:"cropHeight"`
}