Class Image
- Namespace
- GHIElectronics.Endpoint.Drawing
- Assembly
- GHIElectronics.Endpoint.Drawing.dll
[Serializable]
public abstract class Image : MarshalByRefObject, ICloneable, IDisposable
- Inheritance
-
Image
- Implements
- Derived
- Inherited Members
Properties
Height
public int Height { get; }
Property Value
Width
public int Width { get; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
A new object that is a copy of this instance.
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
~Image()
protected ~Image()
GetBitmap()
public byte[] GetBitmap()
Returns
- byte[]
GetBitmap(int, int, int, int)
public byte[] GetBitmap(int x, int y, int width, int height)
Parameters
Returns
- byte[]
GetPixel(int, int)
public virtual Color GetPixel(int x, int y)
Parameters
Returns
MakeTransparent(Color)
public void MakeTransparent(Color color)
Parameters
colorColor
SetPixel(int, int, Color)
public virtual void SetPixel(int x, int y, Color color)