This enumeration indicates how to apply the puzzle effect to an image.
[FlagsAttribute()]
public enum PuzzleEffectCommandFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
<FlagsAttribute()>
Public Enum PuzzleEffectCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[FlagsAttribute()]
public enum PuzzleEffectCommandFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.ImageProcessing.SpecialEffects.PuzzleEffectCommandFlags = function() { };
Leadtools.ImageProcessing.SpecialEffects.PuzzleEffectCommandFlags.prototype = {
None = 0x00000000,
Border = 0x00000001,
Shuffle = 0x00000002,
Size = 0x00000010,
Count = 0x00000020,
Resize = 0x00000100,
};
[FlagsAttribute()]
public enum class PuzzleEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No Flags selected. |
0x00000001 | Border | Draw borders around the puzzle blocks. Use the BorderColor property of the PuzzleEffectCommand class, or the borderColor parameter if you are using the appropriate Constructor, to set the border color. If the Resize flag is not set and the edge blocks have a different size than the inner blocks, the border will not be drawn for the right and the bottom edges. |
0x00000002 | Shuffle | Shuffle the blocks around, controlling the randomization process by the Randomize property of the PuzzleEffectCommand class, or the randomize parameter of the appropriate Constructor. If this flag is not set, the blocks will stay in their original position. |
0x00000010 | Size | Apply the puzzle effect using the XBlock and YBlock properties of the PuzzleEffectCommand class, or the xblock and yblock parameters if you are using the appropriate Constructor, as the width and height of each block, in pixels. |
0x00000020 | Count | Apply the puzzle effect using the XBlock and YBlock properties of the PuzzleEffectCommand class, or the xblock and yblock parameters if you are using the appropriate Constructor, as the number of blocks per row and per column. |
0x00000100 | Resize | Resize the image to be sure that all blocks have equal size. If this flag is not set then the remainder of the image (edge blocks) will be manipulated differently than the inner blocks. |
Products |
Support |
Feedback: PuzzleEffectCommandFlags Enumeration - Leadtools.ImageProcessing.SpecialEffects |
Introduction |
Help Version 19.0.2017.3.21
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.