Enumerated values that indicate the values used to fill the cells, the shape of the cells, and what type of data is in the CellWidth and CellHeight properties of PixelateCommand class or the cellWidth and cellHeight parameters of the Constructor of the PixelateCommand class .
[FlagsAttribute()]
public enum PixelateCommandFlags
<FlagsAttribute()>
Public Enum PixelateCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[FlagsAttribute()]
public enum PixelateCommandFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.ImageProcessing.SpecialEffects.PixelateCommandFlags = function() { };
Leadtools.ImageProcessing.SpecialEffects.PixelateCommandFlags.prototype = {
Maximum = 0x00000000,
Minimum = 0x00000001,
Average = 0x00000002,
Rectangle = 0x00000010,
Radial = 0x00000020,
WidthFrequency = 0x00000100,
WidthPeriod = 0x00000200,
HeightFrequency = 0x00000400,
HeightPeriod = 0x00000800,
};
[FlagsAttribute()]
public enum class PixelateCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0x00000000 | Maximum | Fill the cell with its maximum pixel value. |
0x00000001 | Minimum | Fill the cell with its minimum pixel value. |
0x00000002 | Average | Fill the cell with its average pixel value. |
0x00000010 | Rectangle | Divide the image into rectangular cells. If this flag used, the CellWidth property of the PixelateCommand class or the cellWidth parameter of the PixelateCommand Constructor contains the cell width in pixels or the number of cells across the width of the image. The CellHeight property of PixelateCommand class or the celHeight parameter of the PixelateCommand Constructor contains the cell height in pixels or the number of cells across the height of the image. |
0x00000020 | Radial | Divide the image into circular cells, centered around the center point. If this flag is used, the CellWidth property of the PixelateCommand class (or the cellWidth parameter of the Constructor) contains the angular component of the cell, and the CellHeight property of the PixelateCommand class (or the cellHeight parameter of the Constructor) contains the radial component of the cell. Please note that the Radial flag must be OR-ed with the WidthPeriod flag or the WidthFrequency flag. |
0x00000100 | WidthFrequency | Indicates the number of cells along the width of the image if rectangular cells are used. If circular cells are used, this indicates the number of cells present around the center of the circle. |
0x00000200 | WidthPeriod | Indicates the width, in pixels of a cell, if rectangular cells are used. If circular cells are used, this indicates the number of degrees in each cell around the center point. |
0x00000400 | HeightFrequency | Indicates the number of cells along the height of the image if rectangular cells are used. If circular cells are used, this indicates the number of cells present along the radius of the circle. |
0x00000800 | HeightPeriod | Indicates the height, in pixels of a cell, if rectangular cells are used. If circular cells are used, this indicates the radial length of each cell along the radius. |
You can use a bitwise OR ( ¦ ) to specify one flag from each group.
Group | Flags |
Cell Values | Maximum, Minimum, Average |
Cell Shapes | Rectangle, Radial |
Type of cell width and cell height data used | WidthFrequency, WidthPeriod, HeightFrequency, HeightPeriod |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET