Search Results for

    Show / Hide Table of Contents

    Class Sprite

    The sprite of a video sprite

    Inheritance
    object
    Sprite
    Inherited Members
    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 Sprite

    Properties

    End

    The ending point in time of the sprite in the video.

    Declaration
    [JsonProperty("end", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    public TimeSpan End { get; set; }
    Property Value
    TimeSpan

    Height

    The height of the sprite.

    Declaration
    [JsonProperty("height", Required = Required.Always)]
    public int Height { get; set; }
    Property Value
    int

    Start

    The starting point in time of the sprite in the video.

    Declaration
    [JsonProperty("start", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    public TimeSpan Start { get; set; }
    Property Value
    TimeSpan

    Width

    The width of the sprite.

    Declaration
    [JsonProperty("width", Required = Required.Always)]
    public int Width { get; set; }
    Property Value
    int

    X

    X coordinate of the sprite in the saved file.

    Declaration
    [JsonProperty("x", Required = Required.Always)]
    public int X { get; set; }
    Property Value
    int

    Y

    Y coordinate of the sprite in the saved file.

    Declaration
    [JsonProperty("y", Required = Required.Always)]
    public int Y { get; set; }
    Property Value
    int

    Methods

    FromJson(string)

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

    Returns
    Sprite

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX