Raster Class |
Namespace: AGI.Foundation.Graphics.Imaging
The Raster type exposes the following members.
Name | Description | |
---|---|---|
Raster(Bitmap) |
Initializes a raster from a
.NET Bitmap with a supported PixelFormat.
Format8bppIndexed, Format24bppRgb, Format32bppRgb, and Format32bppArgb bitmap data are supported.
| |
Raster(Raster) |
Initializes a raster from another raster.
| |
Raster(String) |
Initializes a raster from a Uri, which can be a file, HTTP, HTTPS, or FTP source. See Raster for a list of supported formats.
| |
Raster(Uri) |
Initializes a raster from a Uri, which can be a file, HTTP, HTTPS, or FTP source. See Raster for a list of supported formats.
| |
Raster(Byte, RasterAttributes) |
Initializes a raster from memory.
| |
Raster(IntPtr, RasterAttributes) |
Initializes a raster from memory.
| |
Raster(String, Int32, Int32, Int32, Int32) |
Initializes a raster from a Uri. Only the specified subsection of the raster is read. See Raster for a list of supported formats.
| |
Raster(Uri, Int32, Int32, Int32, Int32) |
Initializes a raster from a Uri. Only the specified subsection of the raster is read. See Raster for a list of supported formats.
|
Name | Description | |
---|---|---|
Attributes |
Gets the RasterAttributes that define the raster data.
| |
Height |
Gets the height of the raster in pixels.
| |
Scan0 |
Gets the IntPtr associated with the first value of data in the raster.
| |
Width |
Gets the width of the raster in pixels.
|
Name | Description | |
---|---|---|
Apply |
Applies a RasterFilter to the raster and returns a new raster with the results of the filtering. The current raster is not modified.
| |
ApplyInPlace |
Applies a RasterFilter to the raster. The current raster will contain the results of the filtering.
| |
CopyFromBitmap |
Copies a
.NET Bitmap with a supported PixelFormat
into this raster.
Format8bppIndexed, Format24bppRgb, Format32bppRgb, and Format32bppArgb bitmap data are supported.
| |
CopyFromMemory(Byte, RasterAttributes) |
Copies the given memory into the raster.
| |
CopyFromMemory(IntPtr, RasterAttributes) |
Copies the given memory into the raster.
| |
CopyFromRaster |
Copies the data associated with the given Raster into this raster.
| |
Dispose | ||
Dispose(Boolean) | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExtractBand(RasterBand) |
Extracts the band of raster data associated with the given RasterBand.
| |
ExtractBand(RasterFormat) |
Extracts the bands of raster data associated with the given RasterFormat.
| |
Finalize | (Overrides ObjectFinalize.) | |
Flip |
Flips the raster along the given axis.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Rotate |
Rotates the raster by the given angle.
| |
ToBitmap |
Copies the raster to a
.NET Bitmap
if the RasterFormat is supported. RGB, RGBA, BGR, and BGRA raster data is supported.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |