Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum PixelateCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PixelateCommandFlags |
C# | |
---|---|
[FlagsAttribute()] public enum PixelateCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class PixelateCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Average | Fill the cell with its average pixel value. |
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. |
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. |
Maximum | Fill the cell with its maximum pixel value. |
Minimum | Fill the cell with its minimum pixel value. |
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. |
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. Thr 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. |
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. |
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. |
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 |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.SpecialEffects.PixelateCommandFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7