Search Results for

    Show / Hide Table of Contents

    Class GravityBasedCropAction

    An ImageAction that allows cropping an image, weighing the cropping rectangle on a gravity.

    Inheritance
    object
    ImageActionBase
    CropActionGeneric
    CropActionAbsoluteSizeBase
    GravityBasedCropAction
    Inherited Members
    CropActionAbsoluteSizeBase.Height
    CropActionAbsoluteSizeBase.Width
    CropActionGeneric.Position
    CropActionGeneric.Size
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Gravity

    Declaration
    [JsonProperty("gravity", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    [JsonConverter(typeof(StringEnumConverter))]
    public CropGravity Gravity { get; set; }
    Property Value
    CropGravity

    Methods

    FromJson(string)

    Declaration
    public static GravityBasedCropAction FromJson(string data)
    Parameters
    string data

    Returns
    GravityBasedCropAction

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX