Leadtools.ImageProcessing.Effects Namespace : CombineCommandFlags Enumeration |
This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
[FlagsAttribute()] public enum CombineCommandFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum CombineCommandFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As CombineCommandFlags
[FlagsAttribute()] public enum CombineCommandFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.ImageProcessing.Effects.CombineCommandFlags = function() { }; Leadtools.ImageProcessing.Effects.CombineCommandFlags.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()] public enum class CombineCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
AbsoluteDifference | Calculate the Absolute difference between the two values. |
Destination0 | Change all bits to 0. |
Destination1 | Change all bits to 1. |
DestinationBlue | Perform the operation on the blue channel. |
DestinationGreen | Perform the operation on the green channel. |
DestinationMaster | Perform the operation on all channels. |
DestinationNop | No change. |
DestinationNot | Invert the color, resulting in its complement. |
DestinationRed | Perform the operation on the red channel. |
OperationAdd | Add the byte values, allowing a maximum of 255. |
OperationAnd | Combine each set of bytes using a bitwise AND. |
OperationAverage | Use the average of the two values. |
OperationDivideDestination | Divide the source by the destination. If dest > 0, then the result is calculated as follows: result = min( (source / destination) * 255, 255 ). Otherwise, if destination = 0, then result = 255. |
OperationDivideSource | Divide the destination by the source. If source > 0, then the result is calculated as follows: result = min( (destination / source) * 255, 255 ). Otherwise, if source = 0, then result = 255. |
OperationMaximum | Use the greater of the two values. |
OperationMinimum | Use the lesser of the two values. |
OperationMultiply | Multiply the byte values, allowing a maximum of 255. The result is calculated as follows: result = (source * destination) / 255. |
OperationOr | Combine each set of bytes using a bitwise OR. |
OperationSubtractDestination | Subtract the destination from the source, allowing a minimum of 0. |
OperationSubtractSource | Subtract the source from the destination, allowing a minimum of 0. |
OperationXor | Combine each set of bytes using a bitwise exclusive OR (^). |
RawCombine | Perform a raw combine. |
Result0 | Change all bits to 0. |
Result1 | Change all bits to 1. |
ResultBlue | Perform the operation on the blue channel. |
ResultGreen | Perform the operation on the green channel. |
ResultMaster | Perform the operation on all channels. |
ResultNop | No change. |
ResultNot | Invert the color, resulting in its complement. |
ResultRed | Perform the operation on the red channel. |
Source0 | Change all bits to 0. |
Source1 | Change all bits to 1. |
SourceBlue | Perform the operation on the blue channel. |
SourceCopy | Copy source to destination. |
SourceGreen | Perform the operation on the green channel. |
SourceMaster | Perform the operation on all channels. |
SourceNop | No change. |
SourceNot | Invert the color, resulting in its complement. |
SourceRed | Perform the operation on the red channel. |
Group | Flags |
Flags that define treatment of the source rectangle | SourceNop, SourceNot, Source0, Source1 |
Flags that define treatment of the destination rectangle | DestinationNop, DestinationNot, Destination0, Destination1 |
Flags that define the operation to use when combining the data | OperationAnd, OperationOr, OperationXor, OperationAdd, OperationSubtractSource, OperationSubtractDestination, OperationMultiply, OperationDivideSource, OperationDivideDestination, OperationAverage, OperationMinimum, OperationMaximum, AbsoluteDifference |
Flags that define treatment of the resulting image rectangle | ResultNop, ResultNot, Result0, Result1 |
Flags that define the channel of the source image rectangle | SourceMaster, SourceRed, SourceGreen, SourceBlue |
Flags that define the channel of the destination image rectangle | DestinationMaster, DestinationRed, DestinationGreen, DestinationBlue |
Flags that define the channel of the resulting image rectangle | ResultMaster, ResultRed, ResultGreen, ResultBlue |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Effects.CombineCommandFlags
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2