Class PixelImportSettings
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Class that contains setting for when pixels are imported.
public sealed class PixelImportSettings : IPixelImportSettings
- Inheritance
-
PixelImportSettings
- Implements
-
IPixelImportSettings
- Inherited Members
Constructors
PixelImportSettings(int, int, StorageType, PixelMapping)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(int width, int height, StorageType storageType, PixelMapping mapping)
Parameters
widthintThe width.
heightintThe height.
storageTypeStorageTypeThe pixel storage type.
mappingPixelMappingThe mapping of the pixels.
PixelImportSettings(int, int, StorageType, string)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(int width, int height, StorageType storageType, string mapping)
Parameters
widthintThe width.
heightintThe height.
storageTypeStorageTypeThe pixel storage type.
mappingstringThe mapping of the pixels (e.g. RGB/RGBA/ARGB).
PixelImportSettings(int, int, int, int, StorageType, PixelMapping)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(int x, int y, int width, int height, StorageType storageType, PixelMapping mapping)
Parameters
xintThe X offset from origin.
yintThe Y offset from origin.
widthintThe width.
heightintThe height.
storageTypeStorageTypeThe pixel storage type.
mappingPixelMappingThe mapping of the pixels.
PixelImportSettings(int, int, int, int, StorageType, string)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(int x, int y, int width, int height, StorageType storageType, string mapping)
Parameters
xintThe X offset from origin.
yintThe Y offset from origin.
widthintThe width.
heightintThe height.
storageTypeStorageTypeThe pixel storage type.
mappingstringThe mapping of the pixels (e.g. RGB/RGBA/ARGB).
Properties
Height
Gets the height of the pixel area.
public int Height { get; }
Property Value
Mapping
Gets or sets the mapping of the pixels (e.g. RGB/RGBA/ARGB).
public string Mapping { get; set; }
Property Value
StorageType
Gets the pixel storage type.
public StorageType StorageType { get; }
Property Value
- StorageType
Width
Gets the width of the pixel area.
public int Width { get; }
Property Value
X
Gets the X offset from origin.
public int X { get; }
Property Value
Y
Gets the Y offset from origin.
public int Y { get; }