Class PixelImportSettings
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q8-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, uint, uint, StorageType, PixelMapping)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(int x, int y, uint width, uint height, StorageType storageType, PixelMapping mapping)Parameters
- xint
- The X offset from origin. 
- yint
- The Y offset from origin. 
- widthuint
- The width. 
- heightuint
- The height. 
- storageTypeStorageType
- The pixel storage type. 
- mappingPixelMapping
- The mapping of the pixels. 
PixelImportSettings(int, int, uint, uint, StorageType, string)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(int x, int y, uint width, uint height, StorageType storageType, string mapping)Parameters
- xint
- The X offset from origin. 
- yint
- The Y offset from origin. 
- widthuint
- The width. 
- heightuint
- The height. 
- storageTypeStorageType
- The pixel storage type. 
- mappingstring
- The mapping of the pixels (e.g. RGB/RGBA/ARGB). 
PixelImportSettings(uint, uint, StorageType, PixelMapping)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(uint width, uint height, StorageType storageType, PixelMapping mapping)Parameters
- widthuint
- The width. 
- heightuint
- The height. 
- storageTypeStorageType
- The pixel storage type. 
- mappingPixelMapping
- The mapping of the pixels. 
PixelImportSettings(uint, uint, StorageType, string)
Initializes a new instance of the PixelImportSettings class.
public PixelImportSettings(uint width, uint height, StorageType storageType, string mapping)Parameters
- widthuint
- The width. 
- heightuint
- The height. 
- storageTypeStorageType
- The pixel storage type. 
- mappingstring
- The mapping of the pixels (e.g. RGB/RGBA/ARGB). 
Properties
Height
Gets the height of the pixel area.
public uint 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 uint 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; }