Class GravityBasedCropAction
An ImageAction that allows cropping an image, weighing the cropping rectangle on a gravity.
Inheritance
GravityBasedCropAction
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class GravityBasedCropAction : CropActionAbsoluteSizeBase
Properties
Declaration
[JsonProperty("gravity", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public CropGravity Gravity { get; set; }
Property Value
Methods
Declaration
public static GravityBasedCropAction FromJson(string data)
Parameters
Returns