// -----------------------------------------------------------------------
//
// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Media.Imaging
{
using Perspex.Platform;
///
/// Represents a bitmap image.
///
public interface IBitmap
{
///
/// Gets the width of the bitmap, in pixels.
///
int PixelWidth { get; }
///
/// Gets the height of the bitmap, in pixels.
///
int PixelHeight { get; }
///
/// Gets the platform-specific bitmap implementation.
///
IBitmapImpl PlatformImpl { get; }
///
/// Saves the bitmap to a file.
///
/// The filename.
void Save(string fileName);
}
}