←Select platform

PuzzleEffectCommandFlags Enumeration

Summary
This enumeration indicates how to apply the puzzle effect to an image.
Syntax
C#
C++/CLI
Python
[FlagsAttribute()] 
public enum PuzzleEffectCommandFlags 
[FlagsAttribute()] 
public enum class PuzzleEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
class PuzzleEffectCommandFlags(Enum): 
   None = 0 
   Border = 1 
   Shuffle = 2 
   Size = 16 
   Count = 32 
   Resize = 256 
Members
ValueMemberDescription
0x00000000NoneNo Flags selected.
0x00000001BorderDraw 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.
0x00000002ShuffleShuffle 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.
0x00000010SizeApply 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.
0x00000020CountApply 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.
0x00000100ResizeResize 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.
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.