using Syroot.Maths;
namespace Syroot.Worms
{
///
/// Represents a pixel-based 2D image in different color formats.
///
public class Bitmap
{
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
///
/// Gets or sets the number of bits required to describe a color per pixel.
///
public byte BitsPerPixel { get; set; }
///
/// Gets or sets the colors in the palette of the bitmap, if it has one.
///
public Color[] Palette { get; set; }
///
/// Gets or sets the size of the image in pixels.
///
public Vector2 Size { get; set; }
///
/// Gets or sets the data of the image pixels.
///
public byte[] Data { get; set; }
}
}