Class Image
Image class.
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)
Create new instance of Image class.
Declaration
protected Image(uint width, uint height, ColorDepth color)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | width | Image width. |
System.UInt32 | height | Image height. |
ColorDepth | color | Color depth. |
Fields
| Improve this Doc View SourcerawData
Get and set raw data (pixels array).
Declaration
public int[] rawData
Field Value
Type | Description |
---|---|
System.Int32[] |
Properties
| Improve this Doc View SourceDepth
Get and set image color depth.
Declaration
public ColorDepth Depth { get; protected set; }
Property Value
Type | Description |
---|---|
ColorDepth |
Height
Get and set image height.
Declaration
public uint Height { get; protected set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Width
Get and set image width.
Declaration
public uint Width { get; protected set; }
Property Value
Type | Description |
---|---|
System.UInt32 |