GifRecorder/Capture/FrameInfo.cs
(完整代码) 1KBusing System.Drawing;
namespace ScreenToGif.Capture
{
/// <summary>
/// Frame info class.
/// </summary>
public class FrameInfo
{
#region Constructor
/// <summary>
/// Initialises a FrameInfo instance.
/// </summary>
/// <param name="bitmap">The Bitmap.</param>
/// <param name="posUp">The TopLeft point.</param>
public FrameInfo(string bitmap, Point posUp)
{
Image = bitmap;
PositionTopLeft = posUp;
}
#endregion
#region Auto Properties
/// <summary>
/// The frame image full path.
/// </summary>
public string Image { get; set; }
/// <summary>
/// The frame position. Usually 0,0 except when "analyze unchanged pixels" is set to true.
/// </summary>
public Point PositionTopLeft { get; set; }
/// <summary>
/// The delay of the frame.
/// </summary>
public int Delay { get; set; }
#endregion
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
