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
width
intThe width.
height
intThe height.
storageType
StorageTypeThe pixel storage type.
mapping
PixelMappingThe 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
width
intThe width.
height
intThe height.
storageType
StorageTypeThe pixel storage type.
mapping
stringThe 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
x
intThe X offset from origin.
y
intThe Y offset from origin.
width
intThe width.
height
intThe height.
storageType
StorageTypeThe pixel storage type.
mapping
PixelMappingThe 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
x
intThe X offset from origin.
y
intThe Y offset from origin.
width
intThe width.
height
intThe height.
storageType
StorageTypeThe pixel storage type.
mapping
stringThe 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; }