←Select platform

AgingCommandFlags Enumeration

Summary
Flags that indicate the distortion type and the distortion color. This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax
C#
C++/CLI
Python
[FlagsAttribute()] 
public enum AgingCommandFlags 
[FlagsAttribute()] 
public enum class AgingCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
class AgingCommandFlags(Enum): 
   ScratchInverse = 0 
   ScratchInverse = 0 
   ScratchInverse = 0 
   ScratchInverse = 0 
   AddNothing, PitsInverse, DustInverse, AddVerticalScratch = 1 
   AddNothing, PitsInverse, DustInverse, AddHorizontalScratch = 2 
   AddNothing, PitsInverse, DustInverse, AddDust = 4 
   AddNothing, PitsInverse, DustInverse, AddPits = 8 
   AddNothing, PitsInverse, DustInverse, ScratchColor = 16 
   AddNothing, PitsInverse, DustInverse, DustColor = 32 
   AddNothing, PitsInverse, DustInverse, PitsColor = 64 
Members
ValueMemberDescription
0x00000000AddNothingDo not add any distortion type. In this case, the image will be changed by random changes in the color intensity.
0x00000000DustInverseUse the pixel's color inverse as the dust color. If this flag is set, DustColor will be ignored.
0x00000000PitsInverseUse the pixel's color inverse as the color of the pits. If this flag is set, PitsColor will be ignored.
0x00000000ScratchInverseUse the pixel's color inverse as the scratch line color. If this flag is set, ScratchColor will be ignored.
0x00000001AddVerticalScratchAdd vertical scratch lines.
0x00000002AddHorizontalScratchAdd horizontal scratch lines.
0x00000004AddDustAdd dust.
0x00000008AddPitsAdd pits.
0x00000010ScratchColorUse the value in ScratchColor as the scratch line color.
0x00000020DustColorUse the value in DustColor as the dust color.
0x00000040PitsColorUse the value in PitsColor as the color of the pits.
Remarks

You can use a bitwise OR ( ¦ ) to specify one or more flag(s) from each group.

Group Flags
Flags that indicate the distortion type AddNothing, AddVerticalScratch, AddHorizontalScratch, AddDust, AddPits
Flags that indicate the distortion color ScratchInverse, ScratchColor, DustInverse, DustColor, PitsInverse, PitsColor
Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.