←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#
VB
WinRT C#
C++
[FlagsAttribute()] 
public enum AgingCommandFlags 
  
<FlagsAttribute()> 
Public Enum AgingCommandFlags  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[FlagsAttribute()] 
public enum AgingCommandFlags : System.IComparable, System.IConvertible, System.IFormattable   
Leadtools.ImageProcessing.SpecialEffects.AgingCommandFlags = function() { }; 
Leadtools.ImageProcessing.SpecialEffects.AgingCommandFlags.prototype = { 
 
  AddNothing = 0x00000000, 
    DustInverse = 0x00000000, 
    PitsInverse = 0x00000000, 
    ScratchInverse = 0x00000000, 
    AddVerticalScratch = 0x00000001, 
    AddHorizontalScratch = 0x00000002, 
    AddDust = 0x00000004, 
    AddPits = 0x00000008, 
    ScratchColor = 0x00000010, 
    DustColor = 0x00000020, 
    PitsColor = 0x00000040, 
     
 }; 
[FlagsAttribute()] 
public enum class AgingCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly