Class CropCenterRelative
Inheritance
CropCenterRelative
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class CropCenterRelative : CropPositionBase
Properties
Relative horizontal position of center for crop. 0.5 designates the center of the image.
Declaration
[JsonProperty("x", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Range(0, 1)]
public float X { get; set; }
Property Value
Relative vertical position of center for crop. 0.5 designates the center of the image.
Declaration
[JsonProperty("y", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Range(0, 1)]
public float Y { get; set; }
Property Value
Methods
Declaration
public static CropCenterRelative FromJson(string data)
Parameters
Returns