Class Image
Represents a raster image.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System.Graphics
Assembly: Cosmos.System2.dll
Syntax
public abstract class Image
Constructors
| Improve this Doc View SourceImage(UInt32, UInt32, ColorDepth)
Initializes a new instance of Image class.
Declaration
protected Image(uint width, uint height, ColorDepth color)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | width | The width of the image. |
System.UInt32 | height | The height of the image. |
ColorDepth | color | The color depth of each pixel. |
Fields
| Improve this Doc View SourceRawData
The raw data of the image. This array holds all of the pixel values of the raster image.
Declaration
public int[] RawData
Field Value
Type | Description |
---|---|
System.Int32[] |
Properties
| Improve this Doc View SourceDepth
The color depth of each pixel of the image - i.e, the amount of bits per each pixel.
Declaration
public ColorDepth Depth { get; protected set; }
Property Value
Type | Description |
---|---|
ColorDepth |
Height
The height of the image.
Declaration
public uint Height { get; protected set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Width
The width of the image.
Declaration
public uint Width { get; protected set; }
Property Value
Type | Description |
---|---|
System.UInt32 |