Interface IApiMediaWithCrops
Represents media with image cropping information in the Delivery API.
Namespace: Umbraco.Cms.Core.Models.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IApiMediaWithCrops : IApiMedia
Properties
View SourceCrops
Gets the defined image crops.
Declaration
IEnumerable<ImageCrop>? Crops { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<ImageCrop> |
FocalPoint
Gets the focal point of the image.
Declaration
ImageFocalPoint? FocalPoint { get; }
Property Value
| Type | Description |
|---|---|
| ImageFocalPoint |