mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
// --------------------------------------------------------------------------------------------------------------------
|
|
// <copyright file="GifFrame.cs" company="James South">
|
|
// Copyright (c) James South.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
// <summary>
|
|
// A single gif frame.
|
|
// </summary>
|
|
// --------------------------------------------------------------------------------------------------------------------
|
|
|
|
namespace ImageProcessor.Imaging
|
|
{
|
|
using System.Drawing;
|
|
|
|
/// <summary>
|
|
/// A single gif frame.
|
|
/// </summary>
|
|
public class GifFrame
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the image.
|
|
/// </summary>
|
|
public Image Image { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the delay in milliseconds.
|
|
/// </summary>
|
|
public int Delay { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the x position of the frame.
|
|
/// </summary>
|
|
public int X { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Y position of the frame.
|
|
/// </summary>
|
|
public int Y { get; set; }
|
|
}
|
|
}
|
|
|