RaUI/Source/ryControls/HtmlRenderer/Adapters/RImage.cs

36 lines
915 B
C#
Raw Normal View History

// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"
using System;
namespace TheArtOfDev.HtmlRenderer.Adapters
{
/// <summary>
/// Adapter for platform specific image object - used to render images.
/// </summary>
public abstract class RImage : IDisposable
{
/// <summary>
/// Get the width, in pixels, of the image.
/// </summary>
public abstract double Width { get; }
/// <summary>
/// Get the height, in pixels, of the image.
/// </summary>
public abstract double Height { get; }
/// <summary>
///
/// </summary>
public abstract void Dispose();
}
}