Table of Contents

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

int

Width

public int Width { get; }

Property Value

int

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

disposing bool

~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

x int
y int
width int
height int

Returns

byte[]

GetPixel(int, int)

public virtual Color GetPixel(int x, int y)

Parameters

x int
y int

Returns

Color

MakeTransparent(Color)

public void MakeTransparent(Color color)

Parameters

color Color

SetPixel(int, int, Color)

public virtual void SetPixel(int x, int y, Color color)

Parameters

x int
y int
color Color