CropSuggestionOptions Class
Immutable options of ImageProcessingExtensions.SuggestCrop.
public sealed class CropSuggestionOptionsConstructors
| Name | Description |
|---|---|
| CropSuggestionOptions() |
CropSuggestionOptions()
CropSuggestionOptions.cspublic CropSuggestionOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Energy | Gets what the crop keeps. Defaults to CropEnergy.Edges. |
| Scale | Gets the size of the crop as a fraction of the largest rectangle of the aspect ratio that fits in the image, greater than 0 and at most 1. Defaults to 1: the crop removes only what the aspect ratio requires. A smaller scale also zooms on the content. |
Energy
CropSuggestionOptions.csGets what the crop keeps. Defaults to CropEnergy.Edges.
public CropEnergy Energy { get; init; }Gets the size of the crop as a fraction of the largest rectangle of the aspect ratio that fits in the image, greater than 0 and at most 1. Defaults to 1: the crop removes only what the aspect ratio requires. A smaller scale also zooms on the content.
public double Scale { get; init; }