RasterAttributes Class |
Namespace: AGI.Foundation.Graphics.Imaging
The RasterAttributes type exposes the following members.
Name | Description | |
---|---|---|
RasterAttributes(Bitmap) |
Initializes a new instance from a
.NET Bitmap with a supported PixelFormat.
Format8bppIndexed, Format24bppRgb, Format32bppRgb, and Format32bppArgb bitmap data are supported.
| |
RasterAttributes(Raster) |
Initializes a new instance with the attributes of the specified Raster | |
RasterAttributes(Int32, Int32, RasterFormat) |
Initializes a new instance with the width and height of the raster in pixels, and the given RasterFormat.
| |
RasterAttributes(Int32, Int32, RasterFormat, RasterType) |
Initializes a new instance with the width and height of the raster in pixels, and the given RasterFormat and RasterType.
| |
RasterAttributes(Int32, Int32, RasterFormat, RasterType, RasterOrientation) |
Initializes a new instance with the width and height of the raster in pixels, and the given RasterFormat, RasterType, and RasterOrientation.
| |
RasterAttributes(Int32, Int32, RasterFormat, RasterType, RasterOrientation, Int32) |
Initializes a new instance with the width and height of the raster in pixels, and the given RasterFormat, RasterType, RasterOrientation, and row alignment.
| |
RasterAttributes(Int32, Int32, RasterFormat, RasterType, RasterOrientation, Int32, Double) |
Initializes a new instance with the width and height of the raster in pixels, and the given RasterFormat, RasterType, RasterOrientation, row alignment, and pixel aspect ratio.
|
Name | Description | |
---|---|---|
ByteLength |
Gets the size of the raster data in bytes.
| |
Format |
Gets the RasterFormat associated with the attributes.
| |
Height |
Gets the height of the raster in pixels.
| |
NumberOfBands |
Gets the number of bands comprising the raster.
| |
Orientation |
Gets the RasterOrientation associated with the attributes.
| |
PixelAspectRatio |
Gets the pixel aspect ratio of the raster.
| |
RowAlignment |
Gets the row alignment of the raster data in bytes.
| |
RowStride |
Gets the stride or scan/row width in bytes of the raster data.
| |
Type |
Gets the RasterType associated with the attributes.
| |
Width |
Gets the width of the raster in pixels.
|
Name | Description | |
---|---|---|
Dispose | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasBand |
Gets whether the raster contains the given band.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |